Proxy options for a net client or a net client.

no subtypes hierarchy

Initializer
ProxyOptions(String? host = null, String? password = null, Integer? port = null, ProxyType? type = null, String? username = null)
Parameters:
  • host = null

    Set proxy host.

  • password = null

    Set proxy password.

  • port = null

    Set proxy port.

  • type = null

    Set proxy type.

    ProxyType can be HTTP, SOCKS4 and SOCKS5

  • username = null

    Set proxy username.

Attributes
hostshared String? host

Set proxy host.

passwordshared String? password

Set proxy password.

portshared Integer? port

Set proxy port.

typeshared ProxyType? type

Set proxy type.

ProxyType can be HTTP, SOCKS4 and SOCKS5

usernameshared String? username

Set proxy username.

Inherited Attributes
Attributes inherited from: Object
hash, string
Methods
toJsonshared actual default JsonObject toJson()
Refines BaseDataObject.toJson
Inherited Methods
Methods inherited from: Object
equals
Methods inherited from: BaseDataObject
toJson