Used as a callback for mutating the given RequestInit object.
This is useful for cases where you want to add certain headers based off of
the request properties, e.g. method or url.
prepareRequest(request: RequestInit, __namedParameters: __type): Promise<void>| Name | Type | Description |
|---|---|---|
request* | RequestInit | |
__namedParameters* | __type |