HTTP request handler storage class.
More...
#include <sensesp/net/http_server.h>
|
| HTTPRequestHandler (uint32_t method_mask, String match_uri, std::function< esp_err_t(httpd_req_t *)> handler_func) |
|
esp_err_t | call (httpd_req_t *req) |
|
HTTP request handler storage class.
Definition at line 40 of file http_server.h.
◆ HTTPRequestHandler()
sensesp::HTTPRequestHandler::HTTPRequestHandler |
( |
uint32_t | method_mask, |
|
|
String | match_uri, |
|
|
std::function< esp_err_t(httpd_req_t *)> | handler_func ) |
|
inline |
◆ call()
esp_err_t sensesp::HTTPRequestHandler::call |
( |
httpd_req_t * | req | ) |
|
|
inline |
◆ handler_func_
const std::function<esp_err_t(httpd_req_t*)> sensesp::HTTPRequestHandler::handler_func_ |
|
protected |
◆ match_uri_
const String sensesp::HTTPRequestHandler::match_uri_ |
◆ method_mask_
const uint32_t sensesp::HTTPRequestHandler::method_mask_ |
The documentation for this class was generated from the following file: