Merge pull request #2350

fa65da25 http_client: add getters for host and port (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-08-26 23:33:07 +02:00
commit fd1faac2e0
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 3 additions and 0 deletions

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