Udostępnij za pośrednictwem


ConnRouteParams.SetDefaultProxy(IHttpParams, HttpHost) Method

Definition

Sets the DefaultProxy parameter value.

[Android.Runtime.Register("setDefaultProxy", "(Lorg/apache/http/params/HttpParams;Lorg/apache/http/HttpHost;)V", "")]
public static void SetDefaultProxy (Org.Apache.Http.Params.IHttpParams? params, Org.Apache.Http.HttpHost? proxy);
[<Android.Runtime.Register("setDefaultProxy", "(Lorg/apache/http/params/HttpParams;Lorg/apache/http/HttpHost;)V", "")>]
static member SetDefaultProxy : Org.Apache.Http.Params.IHttpParams * Org.Apache.Http.HttpHost -> unit

Parameters

params
IHttpParams

the parameters in which to set the value

proxy
HttpHost

the value to set, may be null. Note that NoHost will be mapped to null by GetDefaultProxy(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