[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/byte-imagination/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);

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