Esempio n. 1
0
 private static HttpWebRequest DoAsGetAsync(IHttp http, Action <HttpResponse> response_cb, string method)
 {
     return(http.AsGetAsync(response_cb, method));
 }
Esempio n. 2
0
 private static HttpWebRequest DoAsGetAsync(IHttp http, Action <HttpResponse> responseCb, string method)
 => http.AsGetAsync(responseCb, method);
Esempio n. 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));
 }
Esempio n. 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));
 }
Esempio n. 6
0
 private async static Task <HttpResponse> DoExecuteAsGetAsync(IHttp http, string method)
 {
     return(await http.AsGetAsync(method));
 }