Parsed body content of the response.
The response body after parsing. For JSON responses, this is the decoded JavaScript object. The actual type depends on the endpoint and response content-type.
Response headers from the server.
Contains all HTTP headers returned by the server. Header values can be
either a single string or an array of strings for headers that appear
multiple times (e.g., Set-Cookie).
HTTP status code of the response.
Standard HTTP status codes indicating the result of the request. Common values: 200 (OK), 201 (Created), 400 (Bad Request), 401 (Unauthorized), 404 (Not Found), 500 (Internal Server Error).
HTTP response structure returned from server communication.
IHttpResponserepresents the complete HTTP response received from a remote server, containing the status code, response headers, and body. This interface is used by@nestia/fetcherto return structured response data from API calls.The status property contains the HTTP status code (e.g., 200, 404), headers contains all response headers (some may have multiple values), and body contains the parsed response body (typically JSON-decoded).
Author
Jeongho Nam - https://github.com/samchon