Share via


Authenticator.RequestingProtocol Property

Definition

Give the protocol that's requesting the connection.

protected string? RequestingProtocol { [Android.Runtime.Register("getRequestingProtocol", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getRequestingProtocol", "()Ljava/lang/String;", "")>]
member this.RequestingProtocol : string

Property Value

the protocol, optionally followed by "/version", where version is a version number.

Attributes

Remarks

Give the protocol that's requesting the connection. Often this will be based on a URL, but in a future JDK it could be, for example, "SOCKS" for a password-protected SOCKS5 firewall.

Java documentation for java.net.Authenticator.getRequestingProtocol().

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