Utils
FetchPreflightFunc
type FetchPreflightFunc: (req) => Promise<FetchRequest>;
Called before any network request, allowing updated headers (e.g. Bearer tokens), etc.
Parameters
Parameter | Type |
---|---|
req | FetchRequest |
Returns
Promise
<FetchRequest
>
Source
Was this page helpful?