ESP32 HTTPS Server: /home/frank/Projekte/esp32/https_server/esp32_https_server/src/HTTPValidator.hpp Source File

1 #ifndef SRC_HTTPVALIDATOR_HPP_

2 #define SRC_HTTPVALIDATOR_HPP_

3 

4 #include <string>

5 

7 

8 typedef bool (HTTPValidationFunction)(std::string);

9 

14 public:

15  HTTPValidator(const uint8_t idx, const HTTPValidationFunction * validatorFunction);

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