Ejemplo n.º 1
0
 public T RequestSync <T>(string method, string url, dynamic parameters = null, object body = null, string contentType = JsonMimeType)
 {
     return(ExecuteSync <T>(MakeRequestObject(MethodHelper.FromString(method), url, parameters, body, contentType)));
 }
Ejemplo n.º 2
0
 public async Task <T> Request <T>(string method, string uri, dynamic parameters = null, object body = null, string contentType = JsonMimeType)
 {
     return(await Execute <T>(MakeRequestObject(MethodHelper.FromString(method), uri, parameters, body, contentType)));
 }