RequestInterceptor
katanakit-js / RequestInterceptor
Type Alias: RequestInterceptor
Section titled “Type Alias: RequestInterceptor”type RequestInterceptor = (request) => void | Promise<void>;Defined in: types/core/http.ts:90
Inspects or modifies a request before fetch; interceptors run in registration order.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
request |
FetchRequest |
Returns
Section titled “Returns”void | Promise<void>