Sdílet prostřednictvím


IHttpServerConnection.SendResponseHeader(IHttpResponse) Method

Definition

Sends the response line and headers of a response over this connection.

[Android.Runtime.Register("sendResponseHeader", "(Lorg/apache/http/HttpResponse;)V", "GetSendResponseHeader_Lorg_apache_http_HttpResponse_Handler:Org.Apache.Http.IHttpServerConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SendResponseHeader (Org.Apache.Http.IHttpResponse? response);
[<Android.Runtime.Register("sendResponseHeader", "(Lorg/apache/http/HttpResponse;)V", "GetSendResponseHeader_Lorg_apache_http_HttpResponse_Handler:Org.Apache.Http.IHttpServerConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SendResponseHeader : Org.Apache.Http.IHttpResponse -> unit

Parameters

response
IHttpResponse

the response 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