1 #ifndef SRC_RESOURCENODE_HPP_ 2 #define SRC_RESOURCENODE_HPP_ 6 #include "HTTPNode.hpp" 7 #include "HTTPSCallbackFunction.hpp" 21 const std::string _method;
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