Http_Response
typedef struct Http_Response {...} Http_Response
Overview
Defines the structure of HTTP responses.
Since: 20
Related module: netstack
Header file: net_http_type.h
Summary
Member Variables
| Name | Description |
|---|---|
| Http_Buffer body | HTTP response data. For details, see Http_Buffer. |
| Http_ResponseCode responseCode | HTTP response code. For details, see Http_ResponseCode. |
| Http_Headers *headers | Pointer to the HTTP response header. For details, see Http_Headers. |
| char *cookies | Pointer to the HTTP response cookies. |
| Http_PerformanceTiming *performanceTiming | Pointer to the HTTP response timing. For details, see Http_PerformanceTiming. |
Member Functions
| Name | Description |
|---|---|
| void (*destroyResponse)(struct Http_Response **response) | Callback function for destroying an HTTP response. |
Member Function Description
destroyResponse()
void (*destroyResponse)(struct Http_Response **response)
Description
Callback function for destroying an HTTP response.
Since: 20
Parameters
| Name | Description |
|---|---|
| struct Http_Response **response | Pointer to the HTTP response to be destroyed. For details, see Http_Response. |