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-22 12:00:21 +0100 |
commit | 333f70120c8c3b6cccf28737c5e230915f5d8f7c (patch) | |
tree | 5e6886f33774fd5b4f0aae433b8fc7dfa51fcaac /contrib/epee/include/net/http_client.h | |
parent | Merge pull request #2303 (diff) | |
download | monero-333f70120c8c3b6cccf28737c5e230915f5d8f7c.tar.xz |
http_client: add getters for host and port
Diffstat (limited to '')
-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{}; |