示例#1
0
    public T Get <T>(string url, params object[] args)
    {
        IRestRequest request = new RestRequest(RouteHelper.Format(url, args), Method.GET);

        return(JsonConvert.DeserializeObject <T>(client.Get(request).Content));
    }