1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-12 17:52:48 -05:00

Added HttpClient class.

This commit is contained in:
XMRig
2019-04-09 01:59:22 +07:00
parent 35d868fb48
commit 241383068c
17 changed files with 421 additions and 153 deletions

View File

@@ -47,8 +47,9 @@ public:
Dns(IDnsListener *listener);
~Dns();
inline bool isEmpty() const { return m_ipv4.empty() && m_ipv6.empty(); }
inline int status() const { return m_status; }
inline bool isEmpty() const { return m_ipv4.empty() && m_ipv6.empty(); }
inline const String &host() const { return m_host; }
inline int status() const { return m_status; }
bool resolve(const String &host);
const char *error() const;