1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-25 05:40:39 -05:00

HTTP subsystem refactoring.

This commit is contained in:
XMRig
2020-03-06 12:38:09 +07:00
parent 5486300db7
commit cad5fef1ea
25 changed files with 474 additions and 216 deletions

View File

@@ -102,8 +102,6 @@ private:
bool parseResponse(int64_t id, rapidjson::Value &result, const rapidjson::Value &error);
void getBlockTemplate();
void retry();
void send(int method, const char *url, const char *data = nullptr, size_t size = 0);
void send(int method, const char *url, const rapidjson::Document &doc);
void setState(State state);
void submitBlockTemplate(rapidjson::Value &result);