Skip to content

Commit 2c637e3

Browse files
committed
chore(http): Removing comments
1 parent efb0444 commit 2c637e3

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

src/http/HTTPManager.cpp

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,5 @@
11
#include "HTTPManager.h"
22

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-
243
HTTPManager::HTTPManager() {}
254

265
uint64_t HTTPManager::CreateRequest(std::string url)

src/http/HTTPRequest.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
HTTPRequest::HTTPRequest(std::string url)
44
{
55
this->client = new httplib::Client(url);
6-
76
this->client->set_default_headers({{"Accept-Encoding", "gzip, deflate"}});
87
}
98

0 commit comments

Comments
 (0)