mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
http_client: add getters for host and port
This commit is contained in:
parent
4466b6d1b0
commit
333f70120c
1 changed files with 3 additions and 0 deletions
|
@ -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{};
|
||||
|
|
Loading…
Reference in a new issue