Rest
...middleware: FetchMiddleware[]const customFetch = createFetchFn(someMiddleware)
const customFetch = createFetchFn(fetch, someMiddleware)
const customFetch = createFetchFn(fetch, middlewareA, middlewareB)
Rest
...middleware: FetchMiddleware[]Generated using TypeDoc
Creates a new network fetching function, which combines an optional fetch-compatible library with optional middleware.