Language

ThreadSafeClientConnManager.GetConnectionsInPool(HttpRoute) Method

Definition

Gets the total number of connections managed for a route.

[Android.Runtime.Register("getConnectionsInPool", "(Lorg/apache/http/conn/routing/HttpRoute;)I", "GetGetConnectionsInPool_Lorg_apache_http_conn_routing_HttpRoute_Handler")]
public virtual int GetConnectionsInPool(Org.Apache.Http.Conn.Routing.HttpRoute? route);
[<Android.Runtime.Register("getConnectionsInPool", "(Lorg/apache/http/conn/routing/HttpRoute;)I", "GetGetConnectionsInPool_Lorg_apache_http_conn_routing_HttpRoute_Handler")>]
abstract member GetConnectionsInPool : Org.Apache.Http.Conn.Routing.HttpRoute -> int
override this.GetConnectionsInPool : Org.Apache.Http.Conn.Routing.HttpRoute -> int

Parameters

route
HttpRoute

The route whose connections are counted.

Returns

The number of created connections for the route, including those currently in use.

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