SingleClientConnManager.RequestConnection(HttpRoute, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a request that obtains a connection immediately when its get-connection method is called. The request's abort operation does nothing, and its timeout arguments are ignored.
[Android.Runtime.Register("requestConnection", "(Lorg/apache/http/conn/routing/HttpRoute;Ljava/lang/Object;)Lorg/apache/http/conn/ClientConnectionRequest;", "")]
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;", "")>]
abstract member RequestConnection : Org.Apache.Http.Conn.Routing.HttpRoute * Java.Lang.Object -> Org.Apache.Http.Conn.IClientConnectionRequest
override this.RequestConnection : Org.Apache.Http.Conn.Routing.HttpRoute * Java.Lang.Object -> Org.Apache.Http.Conn.IClientConnectionRequest
Parameters
- route
- HttpRoute
The planned route passed to connection allocation.
- state
- Object
The state object passed to connection allocation; not used by this implementation.
Returns
A connection request that delegates allocation to this manager.
Implements
- 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.