| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/sledgehammer-dev/esp32_https_server/master/src/HTTPValidator.hpp | [Back] [Original] |
#ifndef SRC_HTTPVALIDATOR_HPP_
#define SRC_HTTPVALIDATOR_HPP_
#include
namespace httpsserver {
typedef bool (HTTPValidationFunction)(std::string);
/**
* \brief Internal representation of a validator function
*/
class HTTPValidator {
public:
HTTPValidator(const uint8_t idx, const HTTPValidationFunction * validatorFunction);
virtual ~HTTPValidator();
const uint8_t _idx;
const HTTPValidationFunction * _validatorFunction;
};
} /* namespace httpsserver */
#endif /* SRC_HTTPVALIDATOR_HPP_ */
| Web Proxy Viewer | New URL | Original Page |