Abstract
HTTPClient object.
Optional
intDecoding: IntDecodingThe method to use for decoding integers from this request's response. See the setIntDecoding method for more details.
Execute the request, but do not process the response data in any way.
A promise which resolves to the raw response data, exactly as returned by the server.
Additional headers to send in the request. Optional.
Abstract
pathConfigure how integers in this request's JSON response will be decoded.
The options are:
The method to use when parsing the response for this request. Must be one of "default", "safe", "mixed", or "bigint".
Generated using TypeDoc
Base abstract class for JSON requests.
Data: The type returned from the
do()
methodBody: The structure of the response's body