mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
RPC: get_info add rpc_connections_count
This commit is contained in:
parent
a2c2f4e4b0
commit
fa51408272
4 changed files with 16 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue