7c890ea0c5
* First sweep packages + some minor tweaking * Second sweep * Regenerate lockfile + package.json mods * Regenerate lockfile again * Fix CI * Fix CI again * All building properly * unblock * Tweak examples * Comments + readme + fix rotten unit test * First pass docs * Big pass * Massive pass on new docs * Update integrations.md w mobile * Partial overhaul review * new playground + big pass * new fix lychee err * IPR notice tweak
763 B
763 B
@nymproject/mix-fetch • Docs
@nymproject/mix-fetch / createMixFetch
Function: createMixFetch()
createMixFetch(
opts?):Promise<(url,init?) =>Promise<Response>>
Convenience: set up the tunnel and return a fetch-bound function. Equivalent
to await setupMixTunnel(opts); return mixFetch;. Safe to call multiple
times; the underlying tunnel is a singleton.
Parameters
• opts?: SetupMixTunnelOpts
Returns
Promise<(url, init?) => Promise<Response>>