HTTP Server#

This module contains the HTTP Server API data types.

Modules#

sl_http_header_t

sl_http_server_response_t

sl_http_server_uri_query_parameter_t

sl_http_server_request_uri_t

sl_http_server_request_s

sl_http_server_handler_t

sl_http_server_config_t

sl_http_server_s

sl_http_recv_req_data_t

Typedefs#

typedef sl_status_t(*
sl_http_request_handler_t)(sl_http_server_t *handle, sl_http_server_request_t *request)

Callback invoked when an HTTP request is received.

HTTP server request parameters.

typedef struct sl_http_server_s

HTTP server handle used to manage all HTTP server functions.

Typedef Documentation#

sl_http_request_handler_t#

sl_http_request_handler_t )(sl_http_server_t *handle, sl_http_server_request_t *request)

Callback invoked when an HTTP request is received.

Parameters
[out]handle

HTTP server handle of type sl_http_server_t

[out]request

HTTP request which has been received of type sl_http_server_request_t

Returns


Definition at line 137 of file components/service/sl_http_server/inc/sl_http_server_types.h

sl_http_server_request_t#

typedef struct sl_http_server_request_s sl_http_server_request_t

HTTP server request parameters.


Definition at line 119 of file components/service/sl_http_server/inc/sl_http_server_types.h

sl_http_server_t#

typedef struct sl_http_server_s sl_http_server_t

HTTP server handle used to manage all HTTP server functions.


Definition at line 118 of file components/service/sl_http_server/inc/sl_http_server_types.h