/
SoRusV
/
esp32_https_server
Обзор
Документация
Войти
/
SoRusV
/
esp32_https_server
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/HTTPValidator.hpp
23 строки
516 B
Frank Hessel
Add class descriptions
27 авг 2019, 16:27
Не верифицирован
27 авг 2019, 16:27
cfbe927
Код
Авторство
О чём код?
#ifndef SRC_HTTPVALIDATOR_HPP_ #define SRC_HTTPVALIDATOR_HPP_ #include <string> 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_ */