ProxyConfig

expect class ProxyConfig

Proxy configuration.

See ProxyBuilder to create proxy.

actual typealias ProxyConfig = Proxy
actual class ProxyConfig(url: Url)

Proxy configuration.

See ProxyBuilder to create proxy.

Parameters

url

: proxy url address.

Constructors

Link copied to clipboard
fun ProxyConfig(url: Url)

Functions

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val url: Url

Extensions

Link copied to clipboard
expect fun ProxyConfig.resolveAddress(): NetworkAddress

Resolve remote address of ProxyConfig.

actual fun ProxyConfig.resolveAddress(): NetworkAddress

Resolve remote address of ProxyConfig.

Link copied to clipboard
expect val ProxyConfig.type: ProxyType

Type of configured proxy.

actual val ProxyConfig.type: ProxyType

Type of configured proxy.