Language

IHttpServerConnectionExtensions.ReceiveRequestHeaderAsync Method

Definition

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

public static System.Threading.Tasks.Task<Org.Apache.Http.IHttpRequest?> ReceiveRequestHeaderAsync(this Org.Apache.Http.IHttpServerConnection self);
static member ReceiveRequestHeaderAsync : Org.Apache.Http.IHttpServerConnection -> System.Threading.Tasks.Task<Org.Apache.Http.IHttpRequest>

Parameters

self
IHttpServerConnection

The server connection from which to receive the request headers.

Returns

A task whose result is the request initialized with its request line and headers. The entity is not received by this operation.

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