API Reference
Platform docs
Theme

Home > @uniformdev/mesh-sdk-react > createDelegationFetch

createDelegationFetch() function

fetch wrapper that injects the Mesh CSRF header, and on a BFF delegation_expired 401 calls reacquire() once then retries. A second expiry after reacquire is returned as-is.

Signature:

Parameters

Parameter

Type

Description

options

CreateDelegationFetchOptions

Returns:

typeof fetch

Join our community on Discord
Check out our public repositories on GitHub
Enjoy some video content on YouTube