共用方式為


IClientConnectionManager.RequestConnection(HttpRoute, Object) Method

Definition

Returns a new IClientConnectionRequest, from which a IManagedClientConnection can be obtained or the request can be aborted.

[Android.Runtime.Register("requestConnection", "(Lorg/apache/http/conn/routing/HttpRoute;Ljava/lang/Object;)Lorg/apache/http/conn/ClientConnectionRequest;", "GetRequestConnection_Lorg_apache_http_conn_routing_HttpRoute_Ljava_lang_Object_Handler:Org.Apache.Http.Conn.IClientConnectionManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.Apache.Http.Conn.IClientConnectionRequest? RequestConnection (Org.Apache.Http.Conn.Routing.HttpRoute? route, Java.Lang.Object? state);
[<Android.Runtime.Register("requestConnection", "(Lorg/apache/http/conn/routing/HttpRoute;Ljava/lang/Object;)Lorg/apache/http/conn/ClientConnectionRequest;", "GetRequestConnection_Lorg_apache_http_conn_routing_HttpRoute_Ljava_lang_Object_Handler:Org.Apache.Http.Conn.IClientConnectionManagerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member RequestConnection : Org.Apache.Http.Conn.Routing.HttpRoute * Java.Lang.Object -> Org.Apache.Http.Conn.IClientConnectionRequest

Parameters

route
HttpRoute
state
Object

Returns

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