| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/Skybladev2/esp32_https_server/master/src/ValidatorFunctions.cpp | [Back] [Original] |
#include "ValidatorFunctions.hpp"
namespace httpsserver {
bool validateNotEmpty(std::string s) {
return s!="";
}
bool validateUnsignedInteger(std::string s) {
for(size_t x = 0; x < s.size(); x++) {
if (s[x]'9') return false;
}
return true;
}
}
| Web Proxy Viewer | New URL | Original Page |