mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
adds get_port_str to URI
This commit is contained in:
@@ -122,6 +122,12 @@ uint16_t uri::get_port() const {
|
||||
return m_port;
|
||||
}
|
||||
|
||||
std::string uri::get_port_str() const {
|
||||
std::stringstream p;
|
||||
p << m_port;
|
||||
return p.str();
|
||||
}
|
||||
|
||||
std::string uri::get_resource() const {
|
||||
return m_resource;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user