Added client storage from proxy.

This commit is contained in:
XMRig 2018-03-31 18:12:52 +07:00
parent af0a6fdf20
commit 341557c34e
5 changed files with 147 additions and 47 deletions

View file

@ -41,7 +41,6 @@ public:
Url(const char *host, uint16_t port, const char *user = nullptr, const char *password = nullptr, int keepAlive = 0, bool nicehash = false, int variant = -1);
~Url();
inline bool isKeepAlive() const { return m_keepAlive > 0; } // FIXME: replace isKeepAlive to keepAlive
inline bool isNicehash() const { return m_nicehash; }
inline bool isValid() const { return m_host && m_port > 0; }
inline const char *host() const { return m_host; }