Skip to content
0

katanakit-js / RequestInterceptor

Type Alias: RequestInterceptor ​

ts
type RequestInterceptor = (request) => void | Promise<void>;

Defined in: src/types/index.ts:469

Inspects or modifies a request before fetch; interceptors run in registration order.

Parameters ​

ParameterType
requestFetchRequest

Returns ​

void | Promise<void>

Released under the MIT License.