@nymproject/mix-fetch • Docs
@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>