ConnRouteParams.SetForcedRoute(IHttpParams, HttpRoute) 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.
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.