Beispiel #1
0
        public async Task <T> ReadContentAs <T>(HttpResponseMessage response)
        {
            string content = await response.Content.ReadAsStringAsync().ConfigureAwait(false);

            return(_formatter.Deserialize <T>(content));
        }