@prismshadow/penguin-server · packages/server/src/services/update-check-service.ts:48

HttpFetch

interface

The network, as the update check reaches it; a test stands in a canned one.

API

@Interface()
export abstract class HttpFetch {
  abstract fetch(
      input: string,
      init?: Opaque<"RequestInit", RequestInit>,
    ): Promise<Opaque<"Response", Response>>;
}

Contract Topology

Static AST wiring across @Module / @Provide / @Use
@Provideprovided by
@Useconsumed by (1)

Members (1)

fetch

fetch(input: string, init?: Opaque<"RequestInit", RequestInit>): Promise<Opaque<"Response", Response>>
@paraminputstring
@paraminit?Opaque<"RequestInit", RequestInit>
@returnsPromise<Opaque<"Response", Response>>