Base class for a URL/route-handler in the server. More...
#include <HTTPNode.hpp>
Base class for a URL/route-handler in the server.
Use ResourceNode for requests that access dynamic or static resources or HttpNode for routes that create Websockets.
◆ addPathParamValidator() void httpsserver::HTTPNode::addPathParamValidator ( size_t paramIdx, const HTTPValidationFunction * validator )Adds a validation function that checks if the actual value of a parameter matches the expectation
Stores the type of the node (as we have not runtime type information by default)
◆ _path const std::string httpsserver::HTTPNode::_pathThe path under which this node will be available. Should start with a slash. Example: "/myResource"
◆ _tag const std::string httpsserver::HTTPNode::_tagStores a tag that can be used in middleware and handler functions to identify this specific node, tag the node with a required permission, ...
The documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4