Class HttpContentExtensions
- Namespace
- GroupeIsa.Neos.Shared.Extensions
- Assembly
- GroupeIsa.Neos.Shared.dll
Represents the extension methods for the HttpContent class.
public static class HttpContentExtensions
- Inheritance
-
HttpContentExtensions
- Inherited Members
Methods
ReadAsAsync<T>(HttpContent)
Reads http content and converts it to the specified type.
public static Task<T?> ReadAsAsync<T>(this HttpContent httpContent)
Parameters
httpContent
HttpContentThe http content.
Returns
- Task<T>
The converted content.
Type Parameters
T
The type.