ESP32 HTTPS Server
|
This HTTPNode represents a route that maps to a regular HTTP request for a resource (static or dynamic) More...
#include <ResourceNode.hpp>
Public Member Functions | |
ResourceNode (const std::string &path, const std::string &method, const HTTPSCallbackFunction *callback, const std::string &tag="") | |
std::string | getMethod () |
![]() | |
HTTPNode (const std::string &path, const HTTPNodeType nodeType, const std::string &tag="") | |
bool | hasUrlParameter () |
uint8_t | getUrlParamCount () |
size_t | getParamIdx (uint8_t) |
std::vector< HTTPValidator * > * | getValidators () |
void | addURLParamValidator (uint8_t paramIdx, const HTTPValidationFunction *validator) |
Public Attributes | |
const std::string | _method |
const HTTPSCallbackFunction * | _callback |
![]() | |
const std::string | _path |
const std::string | _tag |
const HTTPNodeType | _nodeType |
This HTTPNode represents a route that maps to a regular HTTP request for a resource (static or dynamic)
It therefore contrasts to the WebsocketNode, which handles requests for Websockets.