mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-07-20 21:51:44 +00:00
Made regionhandler handled on http level
This commit is contained in:
+2
-2
@@ -39,8 +39,8 @@
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
namespace Http {
|
||||
std::string GET(const std::string& url, unsigned int* status = nullptr);
|
||||
std::string POST(const std::string& url, const std::string& body, const std::string& ContentType, unsigned int* status = nullptr, const std::map<std::string, std::string>& headers = {});
|
||||
std::string GET(std::string url, unsigned int* status = nullptr, const bool& redirect = true);
|
||||
std::string POST(std::string url, const std::string& body, const std::string& ContentType, unsigned int* status = nullptr, const std::map<std::string, std::string>& headers = {}, const bool& redirect = true);
|
||||
namespace Status {
|
||||
std::string ToString(int code);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user