diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-08-26 23:33:07 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-08-26 23:33:07 +0200 |
commit | fd1faac2e0972f06f82fc7ee2039ff243ff2961f (patch) | |
tree | 16d420256698b953684158879a540aec1866a529 | |
parent | Merge pull request #2339 (diff) | |
parent | http_client: add getters for host and port (diff) | |
download | monero-fd1faac2e0972f06f82fc7ee2039ff243ff2961f.tar.xz |
Merge pull request #2350
fa65da25 http_client: add getters for host and port (moneromooo-monero)
-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{}; |