IResponseHandler.HandleResponse<T>(HttpResponseMessage) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Process raw HTTP response into the requested domain type.
public System.Threading.Tasks.Task<T> HandleResponse<T> (System.Net.Http.HttpResponseMessage response);
abstract member HandleResponse : System.Net.Http.HttpResponseMessage -> System.Threading.Tasks.Task<'T>
Public Function HandleResponse(Of T) (response As HttpResponseMessage) As Task(Of T)
Type Parameters
- T
The type to return
Parameters
- response
- HttpResponseMessage
The HttpResponseMessage to handle.
Returns
Task<T>