Files
nym/documentation/docs/pages/developers/mix-fetch/api/functions/mixFetch.md
T
mfahampshire 7c890ea0c5 TS SDK docs (#6840)
* 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
2026-06-09 13:31:08 +00:00

660 B

@nymproject/mix-fetchDocs


@nymproject/mix-fetch / mixFetch

Function: mixFetch()

mixFetch(url, init?): Promise<Response>

Fetch over the mixnet. Drop-in replacement for the browser fetch().

Requires the tunnel to be up: call setupMixTunnel(opts) first, or use createMixFetch(opts) to combine setup + fetch.

Parameters

url: string

init?: RequestInit

Returns

Promise<Response>

Source

mix-fetch/src/index.ts:39