Language

IHttpClientConnectionExtensions.SendRequestHeaderAsync Method

Definition

Runs the connection's request-header send operation on a thread-pool thread.

public static System.Threading.Tasks.Task SendRequestHeaderAsync(this Org.Apache.Http.IHttpClientConnection self, Org.Apache.Http.IHttpRequest? request);
static member SendRequestHeaderAsync : Org.Apache.Http.IHttpClientConnection * Org.Apache.Http.IHttpRequest -> System.Threading.Tasks.Task

Parameters

self
IHttpClientConnection

The client connection over which the request line and headers are sent.

request
IHttpRequest

The request whose line and headers are sent.

Returns

A task that completes when the request line and headers have been sent. This operation does not send the entity.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to