Added in API level 1

Type

class Type
kotlin.Any
   ↳ kotlin.Enum<java.net.Proxy.Type>
   ↳ java.net.Proxy.Type

Represents the proxy type.

Summary

Enum values

Represents a direct connection, or the absence of a proxy.

Represents proxy for high level protocols such as HTTP or FTP.

Represents a SOCKS (V4 or V5) proxy.

Enum values

DIRECT

Added in API level 1
enum val DIRECT : Proxy.Type

Represents a direct connection, or the absence of a proxy.

HTTP

Added in API level 1
enum val HTTP : Proxy.Type

Represents proxy for high level protocols such as HTTP or FTP.

SOCKS

Added in API level 1
enum val SOCKS : Proxy.Type

Represents a SOCKS (V4 or V5) proxy.