HTTP client response structure.
This structure holds the response data received from an HTTP server, which includes the status, data buffer, data length, HTTP response code, and response headers.
Public Attributes#
Status of the HTTP request.
Pointer to the buffer containing the response data.
Length of the received data in bytes.
Indicator for the end of data (0: more data, 1: end of data).
HTTP response code from the server. (Si91x chipsets do not support this feature for SL_HTTP_PUT).
HTTP version used in the response. (Si91x chipsets do not support this feature).
Pointer to the HTTP response headers. See sl_http_client_header_t. (Si91x chipsets do not support this feature).
Public Attribute Documentation#
status#
uint32_t sl_http_client_response_t::status
Status of the HTTP request.
283
of file components/service/http_client/inc/sl_http_client.h
data_buffer#
uint8_t* sl_http_client_response_t::data_buffer
Pointer to the buffer containing the response data.
284
of file components/service/http_client/inc/sl_http_client.h
data_length#
uint16_t sl_http_client_response_t::data_length
Length of the received data in bytes.
285
of file components/service/http_client/inc/sl_http_client.h
end_of_data#
uint32_t sl_http_client_response_t::end_of_data
Indicator for the end of data (0: more data, 1: end of data).
286
of file components/service/http_client/inc/sl_http_client.h
http_response_code#
uint16_t sl_http_client_response_t::http_response_code
HTTP response code from the server. (Si91x chipsets do not support this feature for SL_HTTP_PUT).
288
of file components/service/http_client/inc/sl_http_client.h
version#
uint8_t sl_http_client_response_t::version
HTTP version used in the response. (Si91x chipsets do not support this feature).
289
of file components/service/http_client/inc/sl_http_client.h
response_headers#
sl_http_client_header_t* sl_http_client_response_t::response_headers
Pointer to the HTTP response headers. See sl_http_client_header_t. (Si91x chipsets do not support this feature).
291
of file components/service/http_client/inc/sl_http_client.h