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