ProxyConfig

sealed interface ProxyConfig

Proxy configuration.

Inheritors

Types

Link copied to clipboard
class Http(val url: String) : ProxyConfig

Creates an HTTP proxy from url.

Link copied to clipboard
class Socks(val host: String, val port: Int) : ProxyConfig

Create socks proxy from host and port.