Language

IHttpServerConnectionExtensions.SendResponseHeaderAsync Method

Definition

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

public static System.Threading.Tasks.Task SendResponseHeaderAsync(this Org.Apache.Http.IHttpServerConnection self, Org.Apache.Http.IHttpResponse? response);
static member SendResponseHeaderAsync : Org.Apache.Http.IHttpServerConnection * Org.Apache.Http.IHttpResponse -> System.Threading.Tasks.Task

Parameters

self
IHttpServerConnection

The server connection over which the response status line and headers are sent.

response
IHttpResponse

The response whose status line and headers are sent.

Returns

A task that completes when the response status 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