MCPcopy
hub / github.com/eggjs/egg / createHttpClient

Method createHttpClient

src/lib/egg.ts:694–694  ·  view source on GitHub ↗
(options?: HttpClientOptions)

Source from the content-addressed store, hash-verified

692 getLogger(name: string): EggLogger;
693 get loggers(): EggLoggers;
694 createHttpClient(options?: HttpClientOptions): HttpClient;
695 HttpClient: typeof HttpClient;
696 get httpClient(): HttpClient;
697 curl<T = any>(url: HttpClientRequestURL, options?: HttpClientRequestOptions): Promise<HttpClientResponse<T>>;

Callers 1

httpclient.test.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected