ESP32 HTTPS Server
|
Class used to handle access to the URL parameters. More...
#include <ResourceParameters.hpp>
Public Member Functions | |
bool | isRequestParameterSet (std::string const &name) |
std::string | getRequestParameter (std::string const &name) |
uint16_t | getRequestParameterInt (std::string const &name) |
void | setRequestParameter (std::string const &name, std::string const &value) |
std::string | getUrlParameter (uint8_t idx) |
uint16_t | getUrlParameterInt (uint8_t idx) |
void | resetUrlParameters () |
void | setUrlParameterCount (uint8_t idx) |
void | setUrlParameter (uint8_t idx, std::string const &val) |
Class used to handle access to the URL parameters.
std::string httpsserver::ResourceParameters::getUrlParameter | ( | uint8_t | idx | ) |
Returns an URL parameter as string.
URL parameters are defined by resource nodes like object/?/property
The parameter idx defines the index of the parameter, starting with 0.
uint16_t httpsserver::ResourceParameters::getUrlParameterInt | ( | uint8_t | idx | ) |
Returns an URL parameter as int.
URL parameters are defined by resource nodes like object/?/property
The parameter idx defines the index of the parameter, starting with 0.