mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-06-18 19:30:52 +00:00
try once more
This commit is contained in:
@@ -21,14 +21,16 @@ public:
|
||||
inline CURL* Get() {
|
||||
return curl;
|
||||
}
|
||||
|
||||
private:
|
||||
CURL* curl;
|
||||
};
|
||||
|
||||
static size_t WriteCallback(void* contents, size_t size, size_t nmemb, void* userp) {
|
||||
((std::string*)userp)->append((char*)contents, size * nmemb);
|
||||
std::string((char*)userp).append((char*)contents, size * nmemb);
|
||||
return size * nmemb;
|
||||
}
|
||||
|
||||
std::string HttpRequest(const std::string& IP, int port) {
|
||||
CurlManager M;
|
||||
std::string readBuffer;
|
||||
|
||||
Reference in New Issue
Block a user