protected virtual async Task <FailedResponseInfo> GetInfoAsync(HttpResponseMessage httpResponse) { var info = new FailedResponseInfo(); using (var content = await httpResponse.Content.ReadAsStreamAsync().ForAwait()) Serializer.Populate(info, content); return(info); }
protected virtual async Task<FailedResponseInfo> GetInfoAsync(HttpResponseMessage httpResponse) { var info = new FailedResponseInfo(); using (var content = await httpResponse.Content.ReadAsStreamAsync().ForAwait()) Serializer.Populate(info, content); return info; }