Merge pull request #30 from nathanhourt/phoenix

Add missing synchronous call overload to json_connection
This commit is contained in:
Daniel Larimer 2014-07-02 17:40:52 -04:00
commit 9f401c7143

View file

@ -107,6 +107,14 @@ namespace fc { namespace rpc {
const variant& a7
);
template<typename Result>
Result call( const fc::string& method,
const variants& args,
microseconds timeout = microseconds::maximum())
{
return async_call( method, args ).wait(timeout).as<Result>();
}
template<typename Result>
Result call( const fc::string& method,
const variant& a1,