OptionaldataOptional payload or body data returned from the server. Can be any valid JavaScript type.
OptionalheaderOptional object representing HTTP headers as key-value pairs.
The primary response object containing the server's response. Must be of type Response.
OptionalstatusOptional status information, typically representing the HTTP status code. Must be of type IStatusCode.
OptionalstreamOptional readable stream, allowing for data to be read in chunks, typically for large responses.
OptionaltypeOptional response type indicating the nature or format of the response. Must be of type RESPONSE_TYPE.
Interface representing a structured response object.
ResponseObject