Extensions for java.net.Proxy

resolveAddress

expect fun ProxyConfig.resolveAddress(): NetworkAddress

Resolve remote address of ProxyConfig.

type

expect val ProxyConfig.type: ProxyType

Type of configured proxy.