diff options
| author | Riccardo Spagni <ric@spagni.net> | 2017-08-25 00:17:02 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2017-08-25 00:17:02 +0200 |
| commit | 65ee63e5bf2e331a27965f9419fbb914e5052ab8 (patch) | |
| tree | 8a366eb40d62fe7a60260dd4b0965f1c2e78c400 /contrib | |
| parent | 4ff968d0f5c0fae16e57457a13d4953b90918ddd (diff) | |
| parent | 64ab88446ae6ca97f3d42e1ce30c946e2fe7c1e8 (diff) | |
| download | monzero-core-65ee63e5bf2e331a27965f9419fbb914e5052ab8.tar.gz monzero-core-65ee63e5bf2e331a27965f9419fbb914e5052ab8.tar.xz monzero-core-65ee63e5bf2e331a27965f9419fbb914e5052ab8.zip | |
Merge pull request #2326
64ab8844 rpc_client: print destination host/port when failing to connect (moneromooo-monero)
333f7012 http_client: add getters for host and port (moneromooo-monero)
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/epee/include/net/http_client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/epee/include/net/http_client.h b/contrib/epee/include/net/http_client.h index 67e63f7bf..8e099e2bc 100644 --- a/contrib/epee/include/net/http_client.h +++ b/contrib/epee/include/net/http_client.h @@ -293,6 +293,9 @@ using namespace std; , m_lock() {} + const std::string &get_host() const { return m_host_buff; }; + const std::string &get_port() const { return m_port; }; + bool set_server(const std::string& address, boost::optional<login> user) { http::url_content parsed{}; |
