Added client storage from proxy.
This commit is contained in:
parent
af0a6fdf20
commit
341557c34e
5 changed files with 147 additions and 47 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue