Udostępnij za pośrednictwem


Proxy.Address Method

Definition

Returns the socket address of the proxy, or null if its a direct connection.

[Android.Runtime.Register("address", "()Ljava/net/SocketAddress;", "GetAddressHandler")]
public virtual Java.Net.SocketAddress? Address ();
[<Android.Runtime.Register("address", "()Ljava/net/SocketAddress;", "GetAddressHandler")>]
abstract member Address : unit -> Java.Net.SocketAddress
override this.Address : unit -> Java.Net.SocketAddress

Returns

a SocketAddress representing the socket end point of the proxy

Attributes

Remarks

Returns the socket address of the proxy, or null if its a direct connection.

Java documentation for java.net.Proxy.address().

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