Class HttpResponseMessageExtensions
Class HttpResponseMessageExtensions.
Inherited Members
Namespace: Radzen
Assembly: Radzen.Blazor.dll
Syntax
public static class HttpResponseMessageExtensions
Methods
ReadAsync<T>(HttpResponseMessage)
Read as an asynchronous operation.
Declaration
public static Task<T> ReadAsync<T>(this HttpResponseMessage response)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpResponseMessage | response | The response. |
Returns
| Type | Description |
|---|---|
| Task<T> | A Task<T> representing the asynchronous operation. |
Type Parameters
| Name | Description |
|---|---|
| T |
Exceptions
| Type | Condition |
|---|---|
| Exception | Unable to parse the response. |
| Exception | |
| Exception | Unable to parse the response. |
| Exception |