Developers
TypeDoc Reference
@nymproject/mix-fetch
Functions
mixFetch

@nymproject/mix-fetchDocs


@nymproject/mix-fetch / mixFetch

Function: mixFetch()

mixFetch(url, args, opts?): Promise<Response>

mixFetch is a drop-in replacement for the standard fetch interface.

Parameters

url: string

The URL to fetch from.

args: any

Fetch options.

opts?: any

Optionally configure mixFetch when it gets created. This only happens once, the first time it gets used.

Returns

Promise<Response>

Source

index.ts:50 (opens in a new tab)