CompressionHandler.SendAsync(HttpRequestMessage, CancellationToken) Method

Definition

Sends a HTTP request.

protected override System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> SendAsync (System.Net.Http.HttpRequestMessage httpRequest, System.Threading.CancellationToken cancellationToken);
override this.SendAsync : System.Net.Http.HttpRequestMessage * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Protected Overrides Function SendAsync (httpRequest As HttpRequestMessage, cancellationToken As CancellationToken) As Task(Of HttpResponseMessage)

Parameters

httpRequest
HttpRequestMessage

The HttpRequestMessage to be sent.

cancellationToken
CancellationToken

The CancellationToken for the request.

Returns

Applies to