Example #1
0
 private static HttpWebRequest DoAsGetAsync(IHttp http, Action <HttpResponse> response_cb, string method)
 {
     return(http.AsGetAsync(response_cb, method));
 }
Example #2
0
 private static HttpWebRequest DoAsGetAsync(IHttp http, Action <HttpResponse> responseCb, string method)
 => http.AsGetAsync(responseCb, method);
Example #3
0
 private async static Task <HttpResponse> DoExecuteAsGetAsync(IHttp http, string method, CacheMode cacheMode = CacheMode.Skip, TimeSpan?cacheExpiry = null)
 {
     return(await http.AsGetAsync(method, cacheMode, cacheExpiry));
 }
Example #4
0
		private async static Task<HttpResponse> DoExecuteAsGetAsync(IHttp http, string method)
		{
			return await http.AsGetAsync(method);
		}
 public HttpWebRequest AsGetAsync(Action <HttpResponse> action, string httpMethod)
 {
     return(_rawHttp.AsGetAsync(action, httpMethod));
 }
Example #6
0
 private async static Task <HttpResponse> DoExecuteAsGetAsync(IHttp http, string method)
 {
     return(await http.AsGetAsync(method));
 }