From fa65da25c9458f1abbac0344d198640445c1cc30 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Tue, 22 Aug 2017 12:00:21 +0100 Subject: http_client: add getters for host and port --- contrib/epee/include/net/http_client.h | 3 +++ 1 file changed, 3 insertions(+) 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 user) { http::url_content parsed{}; -- cgit v1.2.3