public static Resp Call <Resp>(this JsonRPCClient client, string method, params object[] parameters) { string responseText = client.Call(method, parameters); return(JsonConvert.DeserializeObject <Resp>(responseText)); }
public static Resp Call <Resp>(this JsonRPCClient client, string method, JsonRPCRequestParams parameters) { return(client.Call <Resp>(method, parameters.ToArray())); }