Share via


ProxyInfo.BuildDirectProxy Method

Definition

Overloads

BuildDirectProxy(String, Int32)

Constructs a ProxyInfo object that points at a Direct proxy on the specified host and port.

BuildDirectProxy(String, Int32, IList<String>)

BuildDirectProxy(String, Int32)

Constructs a ProxyInfo object that points at a Direct proxy on the specified host and port.

[Android.Runtime.Register("buildDirectProxy", "(Ljava/lang/String;I)Landroid/net/ProxyInfo;", "")]
public static Android.Net.ProxyInfo? BuildDirectProxy (string? host, int port);
[<Android.Runtime.Register("buildDirectProxy", "(Ljava/lang/String;I)Landroid/net/ProxyInfo;", "")>]
static member BuildDirectProxy : string * int -> Android.Net.ProxyInfo

Parameters

host
String
port
Int32

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

BuildDirectProxy(String, Int32, IList<String>)

[Android.Runtime.Register("buildDirectProxy", "(Ljava/lang/String;ILjava/util/List;)Landroid/net/ProxyInfo;", "")]
public static Android.Net.ProxyInfo? BuildDirectProxy (string? host, int port, System.Collections.Generic.IList<string>? exclList);
[<Android.Runtime.Register("buildDirectProxy", "(Ljava/lang/String;ILjava/util/List;)Landroid/net/ProxyInfo;", "")>]
static member BuildDirectProxy : string * int * System.Collections.Generic.IList<string> -> Android.Net.ProxyInfo

Parameters

host
String
port
Int32
exclList
IList<String>

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