mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
adds getter for connection uri part 2
This commit is contained in:
@@ -299,6 +299,12 @@ uint16_t connection<config>::get_port() const {
|
||||
return m_uri->get_port();
|
||||
}
|
||||
|
||||
template <typename config>
|
||||
uri_ptr connection<config>::get_uri() const {
|
||||
//scoped_lock_type lock(m_connection_state_lock);
|
||||
return m_uri;
|
||||
}
|
||||
|
||||
template <typename config>
|
||||
void connection<config>::set_uri(uri_ptr uri) {
|
||||
//scoped_lock_type lock(m_connection_state_lock);
|
||||
|
||||
Reference in New Issue
Block a user