ProxyBuilder

expect object ProxyBuilder

ProxyConfig factory.

actual object ProxyBuilder

ProxyConfig factory.

actual object ProxyBuilder

ProxyConfig factory.

Functions

Link copied to clipboard
expect fun http(url: Url): ProxyConfig

Create http proxy from url.

actual fun http(url: Url): ProxyConfig

Create http proxy from url.

actual fun http(url: Url): ProxyConfig

Create http proxy from url.

Link copied to clipboard
expect fun socks(host: String, port: Int): ProxyConfig

Create socks proxy from host and port.

actual fun socks(host: String, port: Int): ProxyConfig

Create socks proxy from host and port.

actual fun socks(host: String, port: Int): ProxyConfig

Create socks proxy from host and port.

Extensions

Link copied to clipboard
fun ProxyBuilder.http(urlString: String): ProxyConfig

Create http proxy from urlString.