Type alias BeforeRequestHook
BeforeRequestHook: ((request, options) => Request | Response | void | Promise<Request | Response | void>)
Type declaration
-
- (request, options): Request | Response | void | Promise<Request | Response | void>
-
Parameters
-
request: Request
-
options: NormalizedOptions
Returns Request | Response | void | Promise<Request | Response | void>