Structure representing HTTP server request handling parameters.

This structure holds the parameters for handling HTTP server requests, including the URI pattern to match and the corresponding request handler function.

Public Attributes#

char *

URI pattern to match the incoming request. Must be a null-terminated string.

Function pointer to the request handler. This function will be called when the URI pattern matches.

Public Attribute Documentation#

uri#

char* sl_http_server_handler_t::uri

URI pattern to match the incoming request. Must be a null-terminated string.


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

handler#

sl_http_request_handler_t sl_http_server_handler_t::handler

Function pointer to the request handler. This function will be called when the URI pattern matches.


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