http_client: add getters for host and port

This commit is contained in:
moneromooo-monero 2017-08-22 12:00:21 +01:00
parent 0fe4b0282a
commit fa65da25c9
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -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{};