ESP32 HTTPS Server: /home/frank/Projekte/esp32/https_server/esp32_https_server/src/ResourceNode.hpp Source File
1 #ifndef SRC_RESOURCENODE_HPP_
2 #define SRC_RESOURCENODE_HPP_
7 #include "HTTPSCallbackFunction.hpp"
18 ResourceNode(const std::string &path, const std::string &method, const HTTPSCallbackFunction * callback, const std::string &tag = "");
23 std::string getMethod() { return _method; }
Base class for a URL/route-handler in the server.
Definition: HTTPNode.hpp:26
void() HTTPSCallbackFunction(HTTPRequest *req, HTTPResponse *res)
A callback function that will be called by the server to handle a request.
Definition: HTTPSCallbackFunction.hpp:11
This HTTPNode represents a route that maps to a regular HTTP request for a resource (static or dynami...
Definition: ResourceNode.hpp:16
Definition: ConnectionContext.cpp:3