You are viewing documentation for version:
HTTP server response parameters.
Public Attributes#
char *
Content type of the response.
Pointer to an array of headers.
uint8_t *
Pointer to the data buffer.
uint32_t
Length of the data buffer.
uint32_t
Total Length of the data to be sent in response.
Public Attribute Documentation#
response_code#
sl_http_response_code_t sl_http_server_response_t::response_code
HTTP response code.
content_type#
char* sl_http_server_response_t::content_type
Content type of the response.
headers
sl_http_header_t* sl_http_server_response_t::headers
Pointer to an array of headers.
header_count
uint16_t sl_http_server_response_t::header_count
Length of header array.
data#
uint8_t* sl_http_server_response_t::data
Pointer to the data buffer.
current_data_length#
uint32_t sl_http_server_response_t::current_data_length
Length of the data buffer.
expected_data_length#
uint32_t sl_http_server_response_t::expected_data_length
Total Length of the data to be sent in response.