ESP32 HTTPS Server
HTTPValidator.hpp
1 #ifndef SRC_HTTPVALIDATOR_HPP_
2 #define SRC_HTTPVALIDATOR_HPP_
3 
4 #include <string>
5 
6 namespace httpsserver {
7 
8 typedef bool (HTTPValidationFunction)(std::string);
9 
14 public:
15  HTTPValidator(const uint8_t idx, const HTTPValidationFunction * validatorFunction);
16  virtual ~HTTPValidator();
17  const uint8_t _idx;
18  const HTTPValidationFunction * _validatorFunction;
19 };
20 
21 } /* namespace httpsserver */
22 
23 #endif /* SRC_HTTPVALIDATOR_HPP_ */
Definition: ConnectionContext.cpp:3
Internal representation of a validator function.
Definition: HTTPValidator.hpp:13