Пример #1
0
 public static IResource <String> GetString(string url)
 {
     return(HTTPResource.HttpClient().SelectAsync(hc => hc.GetStringAsync(url)));
 }
Пример #2
0
 public static IResource <HttpResponseMessage> Get(string url)
 {
     return(HTTPResource.HttpClient().SelectAsync(hc => hc.GetAsync(url)));
 }