Share via


HttpURLConnection.UsingProxy Method

Definition

Indicates if the connection is going through a proxy.

[Android.Runtime.Register("usingProxy", "()Z", "GetUsingProxyHandler")]
public abstract bool UsingProxy ();
[<Android.Runtime.Register("usingProxy", "()Z", "GetUsingProxyHandler")>]
abstract member UsingProxy : unit -> bool

Returns

a boolean indicating if the connection is using a proxy.

Attributes

Remarks

Indicates if the connection is going through a proxy.

Java documentation for java.net.HttpURLConnection.usingProxy().

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