diff --git a/include/fc/rpc/json_connection.hpp b/include/fc/rpc/json_connection.hpp index b666a74..9b4adc7 100644 --- a/include/fc/rpc/json_connection.hpp +++ b/include/fc/rpc/json_connection.hpp @@ -107,6 +107,14 @@ namespace fc { namespace rpc { const variant& a7 ); + template + Result call( const fc::string& method, + const variants& args, + microseconds timeout = microseconds::maximum()) + { + return async_call( method, args ).wait(timeout).as(); + } + template Result call( const fc::string& method, const variant& a1,