IHttpServerConnectionExtensions.SendResponseHeaderAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在线程池线程上运行连接的响应标头发送操作。
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
参数
发送响应状态行和标头的服务器连接。
- response
- IHttpResponse
发送其状态行和标头的响应。
返回
响应标头操作完成时完成的任务。 此操作不会发送实体。
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。