ThreadSafeClientConnManager.GetConnectionsInPool(HttpRoute) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得該路由管理的總連接數。
[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
參數
- route
- HttpRoute
計入連接點的路線。
傳回
該路線已建立的連接點數量,包括目前仍在使用的。
- 屬性
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。