From 5fa8a60aebb56218e84c29b854ecec16fddfaa95 Mon Sep 17 00:00:00 2001 From: Daniel Larimer Date: Mon, 26 Nov 2012 10:40:44 -0500 Subject: [PATCH] adding connection func --- include/fc/json_rpc_process_client.hpp | 1 + 1 file changed, 1 insertion(+) 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;