diff --git a/include/fc/json_rpc_process_client.hpp b/include/fc/json_rpc_process_client.hpp index d2fe2fe..6886a30 100644 --- a/include/fc/json_rpc_process_client.hpp +++ b/include/fc/json_rpc_process_client.hpp @@ -41,6 +41,7 @@ namespace fc { namespace json { template void on_close( T&& f) { _con->on_close( fc::forward(f) ); } + const fc::json::rpc_stream_connection::ptr& connection()const { return _con; } private: fc::process _proc; fc::json::rpc_stream_connection::ptr _con;