Added send with callback.

This commit is contained in:
XMRig
2019-10-16 19:34:33 +07:00
parent ae557af840
commit f382cee3f9
9 changed files with 127 additions and 72 deletions

View File

@@ -77,6 +77,7 @@ protected:
bool isTLS() const override;
const char *tlsFingerprint() const override;
const char *tlsVersion() const override;
int64_t send(const rapidjson::Value &obj, Callback callback) override;
int64_t send(const rapidjson::Value &obj) override;
int64_t submit(const JobResult &result) override;
void connect() override;