HTTP server response parameters.
Public Attributes#
HTTP response code.
char *
Content type of the response.
Pointer to an array of headers.
uint16_t
Length of header array.
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.
Definition at line
151
of file components/service/sl_http_server/inc/sl_http_server_types.h
content_type#
char* sl_http_server_response_t::content_type
Content type of the response.
Definition at line
152
of file components/service/sl_http_server/inc/sl_http_server_types.h
headers#
sl_http_header_t* sl_http_server_response_t::headers
Pointer to an array of headers.
Definition at line
153
of file components/service/sl_http_server/inc/sl_http_server_types.h
header_count#
uint16_t sl_http_server_response_t::header_count
Length of header array.
Definition at line
154
of file components/service/sl_http_server/inc/sl_http_server_types.h
data#
uint8_t* sl_http_server_response_t::data
Pointer to the data buffer.
Definition at line
155
of file components/service/sl_http_server/inc/sl_http_server_types.h
current_data_length#
uint32_t sl_http_server_response_t::current_data_length
Length of the data buffer.
Definition at line
156
of file components/service/sl_http_server/inc/sl_http_server_types.h
expected_data_length#
uint32_t sl_http_server_response_t::expected_data_length
Total length of the data to be sent in response.
Definition at line
157
of file components/service/sl_http_server/inc/sl_http_server_types.h