Share via


IClientConnectionManager.ReleaseConnection Method

Definition

Releases a connection for use by others.

[Android.Runtime.Register("releaseConnection", "(Lorg/apache/http/conn/ManagedClientConnection;JLjava/util/concurrent/TimeUnit;)V", "GetReleaseConnection_Lorg_apache_http_conn_ManagedClientConnection_JLjava_util_concurrent_TimeUnit_Handler:Org.Apache.Http.Conn.IClientConnectionManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void ReleaseConnection (Org.Apache.Http.Conn.IManagedClientConnection? conn, long validDuration, Java.Util.Concurrent.TimeUnit? timeUnit);
[<Android.Runtime.Register("releaseConnection", "(Lorg/apache/http/conn/ManagedClientConnection;JLjava/util/concurrent/TimeUnit;)V", "GetReleaseConnection_Lorg_apache_http_conn_ManagedClientConnection_JLjava_util_concurrent_TimeUnit_Handler:Org.Apache.Http.Conn.IClientConnectionManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member ReleaseConnection : Org.Apache.Http.Conn.IManagedClientConnection * int64 * Java.Util.Concurrent.TimeUnit -> unit

Parameters

conn
IManagedClientConnection

the connection to release

validDuration
Int64

the duration of time this connection is valid for reuse

timeUnit
TimeUnit

the unit of time validDuration is measured in

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

See also