Language

IdleConnectionHandler.Remove(IHttpConnection) Method

Definition

Removes the connection without closing it and reports whether it is still within its validity period.

[Android.Runtime.Register("remove", "(Lorg/apache/http/HttpConnection;)Z", "GetRemove_Lorg_apache_http_HttpConnection_Handler")]
public virtual bool Remove(Org.Apache.Http.IHttpConnection? connection);
[<Android.Runtime.Register("remove", "(Lorg/apache/http/HttpConnection;)Z", "GetRemove_Lorg_apache_http_HttpConnection_Handler")>]
abstract member Remove : Org.Apache.Http.IHttpConnection -> bool
override this.Remove : Org.Apache.Http.IHttpConnection -> bool

Parameters

connection
IHttpConnection

The connection to remove from idle tracking.

Returns

false if the connection's expiry time has passed; otherwise, true. An unknown connection causes a warning and returns true.

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