Exemplo n.º 1
0
 public static Task<Response> Send_POST_GET_PUT(this Request request, Action<long[]> onProgress = null)
 {
     return Task.Factory.StartNew(() =>
     {
         var client = new KidoWebClient();
         var response = client.Send(request, onProgress);
         return response;
     });
 }
Exemplo n.º 2
0
 static public Task <Response> Send_POST_GET_PUT(this Request request, Action <long[]> onProgress = null)
 {
     return(Task.Factory.StartNew(() =>
     {
         var client = new KidoWebClient();
         var response = client.Send(request, onProgress);
         return response;
     }));
 }