ProxyBuilder

expect object ProxyBuilder

ProxyConfig factory.

Functions

http

fun http(url: Url): ProxyConfig

Create http proxy from url.

socks

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

Create socks proxy from host and port.

Extension Functions

http

fun ProxyBuilder.http(urlString: String): ProxyConfig

Create http proxy from urlString.