Share via


IdleConnectionHandler.Add(IHttpConnection, Int64, TimeUnit) Method

Definition

[Android.Runtime.Register("add", "(Lorg/apache/http/HttpConnection;JLjava/util/concurrent/TimeUnit;)V", "GetAdd_Lorg_apache_http_HttpConnection_JLjava_util_concurrent_TimeUnit_Handler")]
public virtual void Add (Org.Apache.Http.IHttpConnection? connection, long validDuration, Java.Util.Concurrent.TimeUnit? unit);
[<Android.Runtime.Register("add", "(Lorg/apache/http/HttpConnection;JLjava/util/concurrent/TimeUnit;)V", "GetAdd_Lorg_apache_http_HttpConnection_JLjava_util_concurrent_TimeUnit_Handler")>]
abstract member Add : Org.Apache.Http.IHttpConnection * int64 * Java.Util.Concurrent.TimeUnit -> unit
override this.Add : Org.Apache.Http.IHttpConnection * int64 * Java.Util.Concurrent.TimeUnit -> unit

Parameters

connection
IHttpConnection
validDuration
Int64
unit
TimeUnit
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