Type Alias RequestInterceptor

RequestInterceptor: (request: InterceptableRequest) => void | PromiseLike<void>

The RequestInterceptor is a function that accepts a Request object as its argument and can return a promise. If it returns a promise then the request waits until the promise is resolved.

Type declaration