Language

IHttpClientConnectionExtensions.ReceiveResponseHeaderAsync Method

Definition

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

public static System.Threading.Tasks.Task<Org.Apache.Http.IHttpResponse?> ReceiveResponseHeaderAsync(this Org.Apache.Http.IHttpClientConnection self);
static member ReceiveResponseHeaderAsync : Org.Apache.Http.IHttpClientConnection -> System.Threading.Tasks.Task<Org.Apache.Http.IHttpResponse>

Parameters

self
IHttpClientConnection

The client connection from which to receive the response headers.

Returns

A task whose result is the response initialized with its status 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