remove boost, add httplib, temporarily remove http* lua

This commit is contained in:
Lion Kortlepel
2021-11-07 23:54:33 +01:00
parent 1e305c3c90
commit 701a7feee3
11 changed files with 43 additions and 147 deletions

View File

@@ -5,7 +5,7 @@
namespace Http {
std::string GET(const std::string& host, int port, const std::string& target, unsigned int* status = nullptr);
std::string POST(const std::string& host, int port, const std::string& target, const std::unordered_map<std::string, std::string>& fields, const std::string& body, const std::string& ContentType, unsigned int* status = nullptr);
std::string POST(const std::string& host, int port, const std::string& target, const std::string& body, const std::string& ContentType, unsigned int* status = nullptr);
namespace Status {
std::string ToString(int code);
}