HTTP layer ready for API calls.

This commit is contained in:
XMRig 2019-03-29 17:14:30 +07:00
parent 202b74367a
commit 3f1eefb131
8 changed files with 198 additions and 11 deletions

View file

@ -55,6 +55,8 @@ protected:
void onHttpRequest(const HttpRequest &req) override;
private:
int auth(const HttpRequest &req) const;
Controller *m_controller;
HttpServer *m_http;
TcpServer *m_server;