Freigeben über


ConnRouteParams.SetForcedRoute(IHttpParams, HttpRoute) Method

Definition

Sets the ForcedRoute parameter value.

[Android.Runtime.Register("setForcedRoute", "(Lorg/apache/http/params/HttpParams;Lorg/apache/http/conn/routing/HttpRoute;)V", "")]
public static void SetForcedRoute (Org.Apache.Http.Params.IHttpParams? params, Org.Apache.Http.Conn.Routing.HttpRoute? route);
[<Android.Runtime.Register("setForcedRoute", "(Lorg/apache/http/params/HttpParams;Lorg/apache/http/conn/routing/HttpRoute;)V", "")>]
static member SetForcedRoute : Org.Apache.Http.Params.IHttpParams * Org.Apache.Http.Conn.Routing.HttpRoute -> unit

Parameters

params
IHttpParams

the parameters in which to set the value

route
HttpRoute

the value to set, may be null. Note that NoRoute will be mapped to null by GetForcedRoute(IHttpParams), to allow for explicit unsetting in hierarchies.

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