diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-08-22 12:00:21 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-08-25 23:28:07 +0100 |
commit | fa65da25c9458f1abbac0344d198640445c1cc30 (patch) | |
tree | 16d420256698b953684158879a540aec1866a529 | |
parent | Merge pull request #2339 (diff) | |
download | monero-fa65da25c9458f1abbac0344d198640445c1cc30.tar.xz |
http_client: add getters for host and port
-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{}; |