effect-io-ai

Package: @effect/platform-node
Module: NodeHttpClient

NodeHttpClient.Fetch

Provides a fetch-based HTTP client implementation for Node.js.

When to use

Use to access or override the fetch implementation used by the Node fetch-based HTTP client.

Signature

declare const Fetch: Context.Reference<{ (input: RequestInfo | URL, init?: RequestInit): Promise<Response>; (input: string | URL | Request, init?: RequestInit): Promise<Response>; }>

Source

Since v4.0.0