共用方式為


IHttpClientConnection.SendRequestHeader(IHttpRequest) Method

Definition

Sends the request line and all headers over the connection.

[Android.Runtime.Register("sendRequestHeader", "(Lorg/apache/http/HttpRequest;)V", "GetSendRequestHeader_Lorg_apache_http_HttpRequest_Handler:Org.Apache.Http.IHttpClientConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SendRequestHeader (Org.Apache.Http.IHttpRequest? request);
[<Android.Runtime.Register("sendRequestHeader", "(Lorg/apache/http/HttpRequest;)V", "GetSendRequestHeader_Lorg_apache_http_HttpRequest_Handler:Org.Apache.Http.IHttpClientConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SendRequestHeader : Org.Apache.Http.IHttpRequest -> unit

Parameters

request
IHttpRequest

the request whose headers to send.

Attributes

Exceptions

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