语言

IHttpClientConnectionExtensions.SendRequestHeaderAsync 方法

定义

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

public static System.Threading.Tasks.Task SendRequestHeaderAsync(this Org.Apache.Http.IHttpClientConnection self, Org.Apache.Http.IHttpRequest? request);
static member SendRequestHeaderAsync : Org.Apache.Http.IHttpClientConnection * Org.Apache.Http.IHttpRequest -> System.Threading.Tasks.Task

参数

self
IHttpClientConnection

发送请求行和标头的客户端连接。

request
IHttpRequest

发送其行和标头的请求。

返回

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

注解

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

适用于