语言

IHttpServerConnectionExtensions.SendResponseHeaderAsync 方法

定义

在线程池线程上运行连接的响应标头发送操作。

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

参数

self
IHttpServerConnection

发送响应状态行和标头的服务器连接。

response
IHttpResponse

发送其状态行和标头的响应。

返回

响应标头操作完成时完成的任务。 此操作不会发送实体。

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于