HTTP server configuration.
Public Attributes#
uint16_t
Port number of the HTTP server.
Array of request handlers.
uint16_t
Length of request handlers array.
Default handler.
uint16_t
Idle duration in seconds before the client is considered inactive.
Public Attribute Documentation#
port#
uint16_t sl_http_server_config_t::port
Port number of the HTTP server.
Definition at line
190
of file components/service/sl_http_server/inc/sl_http_server_types.h
handlers_list#
sl_http_server_handler_t* sl_http_server_config_t::handlers_list
Array of request handlers.
Definition at line
191
of file components/service/sl_http_server/inc/sl_http_server_types.h
handlers_count#
uint16_t sl_http_server_config_t::handlers_count
Length of request handlers array.
Definition at line
192
of file components/service/sl_http_server/inc/sl_http_server_types.h
default_handler#
sl_http_request_handler_t sl_http_server_config_t::default_handler
Default handler.
Definition at line
193
of file components/service/sl_http_server/inc/sl_http_server_types.h
client_idle_time#
uint16_t sl_http_server_config_t::client_idle_time
Idle duration in seconds before the client is considered inactive.
Definition at line
194
of file components/service/sl_http_server/inc/sl_http_server_types.h