diff options
author | Tim L <timo614@gmail.com> | 2017-11-03 08:24:36 -0400 |
---|---|---|
committer | Tim L <timo614@gmail.com> | 2017-11-07 16:34:49 -0500 |
commit | fa51408272d634cae948bd237344cc92c0eb09e5 (patch) | |
tree | d590db998b7de27c832a7d8caf5664750642efd9 /contrib/epee/include/net/http_server_impl_base.h | |
parent | Merge pull request #2764 (diff) | |
download | monero-fa51408272d634cae948bd237344cc92c0eb09e5.tar.xz |
RPC: get_info add rpc_connections_count
Diffstat (limited to 'contrib/epee/include/net/http_server_impl_base.h')
-rwxr-xr-x | contrib/epee/include/net/http_server_impl_base.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/epee/include/net/http_server_impl_base.h b/contrib/epee/include/net/http_server_impl_base.h index 0788c6a4b..8b8e31b51 100755 --- a/contrib/epee/include/net/http_server_impl_base.h +++ b/contrib/epee/include/net/http_server_impl_base.h @@ -117,6 +117,11 @@ namespace epee return m_net_server.get_binded_port(); } + long get_connections_count() const + { + return m_net_server.get_connections_count(); + } + protected: net_utils::boosted_tcp_server<net_utils::http::http_custom_handler<t_connection_context> > m_net_server; }; |