Exemplo n.º 1
0
 private async Task <T> GetInternal <T>(string requestUri)
 {
     using (var httpResponse = await _httpClient.HttpGet(requestUri))
     {
         return(await DeserializedResponse <T>(httpResponse));
     }
 }
Exemplo n.º 2
0
        public async Task <HttpResponseMessage> GetResponse(string url)
        {
            ValidateUrlHost(url);

            return(await _httpClient.HttpGet(url));
        }