Language

AbstractConnPool.CloseConnection(IOperatedClientConnection) Method

Definition

Closes the supplied connection and logs any I/O error.

[Android.Runtime.Register("closeConnection", "(Lorg/apache/http/conn/OperatedClientConnection;)V", "GetCloseConnection_Lorg_apache_http_conn_OperatedClientConnection_Handler")]
protected virtual void CloseConnection(Org.Apache.Http.Conn.IOperatedClientConnection? conn);
[<Android.Runtime.Register("closeConnection", "(Lorg/apache/http/conn/OperatedClientConnection;)V", "GetCloseConnection_Lorg_apache_http_conn_OperatedClientConnection_Handler")>]
abstract member CloseConnection : Org.Apache.Http.Conn.IOperatedClientConnection -> unit
override this.CloseConnection : Org.Apache.Http.Conn.IOperatedClientConnection -> unit

Parameters

conn
IOperatedClientConnection

The connection to close, or null to take no action.

Attributes

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