Language

IHttpServerConnection.SendResponseEntity(IHttpResponse) Method

Definition

Sends the response entity of a response over this connection.

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

Parameters

response
IHttpResponse

the response whose entity to send.

Attributes

Exceptions

An I/O error occurs while writing the response entity.

An HTTP protocol error occurs while selecting the response entity's transfer encoding.

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