effect-io-ai

Package: @effect/platform-browser
Module: BrowserHttpClient

BrowserHttpClient.Fetch

Context reference for the fetch implementation used by the 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