Example #1
0
 private Task <ResponseInfo> DoAsync(string method, Object body)
 {
     Request = HTTP.CreateRequest(Url, method, body);
     return(HTTP.SendAsync(Request));
 }
Example #2
0
 /// <summary>
 /// async send the http request
 /// </summary>
 /// <param name="requestInto"></param>
 /// <returns></returns>
 public static Task <ResponseInfo> SendAsync(this RequestInfo requestInto)
 {
     return(HTTP.SendAsync(requestInto));
 }