We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efb0444 commit 2c637e3Copy full SHA for 2c637e3
src/http/HTTPManager.cpp
@@ -1,26 +1,5 @@
1
#include "HTTPManager.h"
2
3
-/*
4
-class HTTPManager
5
-{
6
-private:
7
- std::map<uint64_t, HTTPRequest *> requests;
8
- uint64_t requestIndex = 0;
9
-
10
-public:
11
- HTTPManager() {}
12
13
14
- HTTPRequest *FetchRequest(uint64_t requestID)
15
- {
16
- if (this->requests.find(requestID) == this->requests.end())
17
- return nullptr;
18
19
- return this->requests.at(requestID);
20
- }
21
-};
22
-*/
23
24
HTTPManager::HTTPManager() {}
25
26
uint64_t HTTPManager::CreateRequest(std::string url)
src/http/HTTPRequest.cpp
@@ -3,7 +3,6 @@
HTTPRequest::HTTPRequest(std::string url)
{
this->client = new httplib::Client(url);
this->client->set_default_headers({{"Accept-Encoding", "gzip, deflate"}});
}
0 commit comments