#pragma once #include "pch.h" #include class Util { public: #ifdef _DEBUG static const std::string publicKey; #else static const std::vector publicKey; #endif static const std::vector allowedHosts; static const std::vector allowedSchemes; static const std::vector allowedEmbeddedSchemes; static std::map parseArgs(std::string args); static bool isASCII(const std::string& s); static std::string toLower(std::string s); static std::vector base64Decode(const std::string_view data); static std::map parseQueryString(std::string query); static std::string joinQueryString(std::map query); };