共用方式為


ResponseHandler.HandleResponse<T>(HttpResponseMessage) Method

Definition

Process raw HTTP response into 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>
override this.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>

Implements

Applies to