Beispiel #1
0
 public async Task <HttpResponse <TResponse> > PostAsync <TRequest, TResponse>(string url, TRequest entity)
 {
     return(await PostAsync(url, entity, HttpConverterUtils.GetRequestJsonConverter <TRequest>(), HttpConverterUtils.GetResponseJsonConverter <TResponse>()));
 }
Beispiel #2
0
 public async Task <HttpResponse <TResponse> > GetAsync <TResponse>(string url)
 {
     return(await GetAsync(url, HttpConverterUtils.GetResponseJsonConverter <TResponse>()));
 }