Using HttpClient.GetFromJsonAsync(), how to handle HttpRequestException based on HttpStatusCode without extra SendAsync calls?

前端 未结 0 897
夕颜
夕颜 2020-12-21 01:36

System.Net.Http.Json\'s HttpClient extension methods such as GetFromJsonAsync() greatly simplifies the routine codes to retrieve json

相关标签:
回答
  • 消灭零回复
提交回复
热议问题