ESP32 HTTPS Server
httpsserver::ResourceNode Class Reference

This HTTPNode represents a route that maps to a regular HTTP request for a resource (static or dynamic) More...

#include <ResourceNode.hpp>

Inheritance diagram for httpsserver::ResourceNode:
Collaboration diagram for httpsserver::ResourceNode:

Public Member Functions

 ResourceNode (const std::string &path, const std::string &method, const HTTPSCallbackFunction *callback, const std::string &tag="")
 
std::string getMethod ()
 
- Public Member Functions inherited from httpsserver::HTTPNode
 HTTPNode (const std::string &path, const HTTPNodeType nodeType, const std::string &tag="")
 
bool hasPathParameter ()
 
size_t getPathParamCount ()
 
ssize_t getParamIdx (size_t)
 
std::vector< HTTPValidator * > * getValidators ()
 
void addPathParamValidator (size_t paramIdx, const HTTPValidationFunction *validator)
 

Public Attributes

const std::string _method
 
const HTTPSCallbackFunction_callback
 
- Public Attributes inherited from httpsserver::HTTPNode
const std::string _path
 
const std::string _tag
 
const HTTPNodeType _nodeType
 

Detailed Description

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.


The documentation for this class was generated from the following files: