HttpContentExtensions
A static class in Alta.Api.DataTransferModels, Alta.Api.DataTransferModels.Extensions.
Reads HTTP response content as JSON.
- Listed in Alta.Api.DataTransferModels
- Attributes
Extension
Fields
Methods
| Member | What it is |
|---|---|
static async Task<T> ReadAsJsonAsync<T>(HttpContent content) | Reads the content and deserialises it to T on a worker thread. Logs the raw text and rethrows if parsing fails. |