adding connection func
This commit is contained in:
parent
7981c2fb45
commit
5fa8a60aeb
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ namespace fc { namespace json {
|
||||||
template<typename T>
|
template<typename T>
|
||||||
void on_close( T&& f) { _con->on_close( fc::forward<T>(f) ); }
|
void on_close( T&& f) { _con->on_close( fc::forward<T>(f) ); }
|
||||||
|
|
||||||
|
const fc::json::rpc_stream_connection::ptr& connection()const { return _con; }
|
||||||
private:
|
private:
|
||||||
fc::process _proc;
|
fc::process _proc;
|
||||||
fc::json::rpc_stream_connection::ptr _con;
|
fc::json::rpc_stream_connection::ptr _con;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue