Type alias FetchMiddleware
Fetch
Middleware
: ((info
: Parameters<FetchFn>[0], init
: Parameters<FetchFn>[1], fetch
: ((...a
: Parameters<FetchFn>) => void)) => void)
Type declaration
-
- (info: Parameters<FetchFn>[0], init: Parameters<FetchFn>[1], fetch: ((...a: Parameters<FetchFn>) => void)): void
-
Parameters
-
info: Parameters<FetchFn>[0]
-
init: Parameters<FetchFn>[1]
-
fetch: ((...a: Parameters<FetchFn>) => void)
-
- (...a: Parameters<FetchFn>): void
-
Returns void
Returns void
A callback used to augment the outgoing HTTP request