コード例 #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));
        }
コード例 #2
0
 public static Resp Call <Resp>(this JsonRPCClient client, string method, JsonRPCRequestParams parameters)
 {
     return(client.Call <Resp>(method, parameters.ToArray()));
 }