ProxyOptions

@Serializable
data class ProxyOptions(val type: ProxyType? = null, val host: String? = null, val port: Int? = null, val username: String? = null, val password: String? = null)

Proxy configuration for the client.

Constructors

Link copied to clipboard
constructor(type: ProxyType? = null, host: String? = null, port: Int? = null, username: String? = null, password: String? = null)

Properties

Link copied to clipboard
val host: String? = null

Proxy server hostname or IP address.

Link copied to clipboard
val password: String? = null

Password for proxy authentication. If provided, username must also be specified.

Link copied to clipboard
val port: Int? = null

Proxy server port.

Link copied to clipboard
val type: ProxyType? = null

Proxy type. Defaults to HTTP if unspecified.

Link copied to clipboard
val username: String? = null

Username for proxy authentication. If provided, password must also be specified.