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

@ -38,6 +38,7 @@ class Http
public:
Http();
inline bool isAuthRequired() const { return m_restricted == false || !m_token.isNull(); }
inline bool isEnabled() const { return m_enabled; }
inline bool isRestricted() const { return m_restricted; }
inline const String &host() const { return m_host; }