ESP32 HTTPS Server
ValidatorFunctions.hpp
1 #ifndef SRC_VALIDATORFUNCTIONS_HPP_
2 #define SRC_VALIDATORFUNCTIONS_HPP_
3 
4 #include <Arduino.h>
5 #include <string>
6 #undef max
7 #undef min
8 #include <functional>
9 #include <memory>
10 #include "HTTPValidator.hpp"
11 #include "util.hpp"
12 
20 namespace httpsserver {
21 
25  bool validateNotEmpty(std::string s);
26 
33  bool validateUnsignedInteger(std::string s);
34 
35 }
36 
37 #endif
bool validateNotEmpty(std::string s)
Built-in validator function: Checks that a string is not empty.
Definition: ValidatorFunctions.cpp:4
bool validateUnsignedInteger(std::string s)
Built-in validator function: Checks that a value is a positive int
Definition: ValidatorFunctions.cpp:8
Definition: ConnectionContext.cpp:3