Exemplo n.º 1
0
        public static Resp Call <Resp>(this JsonRPCClient client, string method, params object[] parameters)
        {
            string responseText = client.Call(method, parameters);

            return(JsonConvert.DeserializeObject <Resp>(responseText));
        }
Exemplo n.º 2
0
 public static Resp Call <Resp>(this JsonRPCClient client, string method, JsonRPCRequestParams parameters)
 {
     return(client.Call <Resp>(method, parameters.ToArray()));
 }