ProxyConfiguration

得到一个与 Ktor proxy 类似的配置结果的配置类。

Author

ForteScarlet

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard
@SerialName(value = "http")
data class Http(val url: String) : ProxyConfiguration

Http 代理

Link copied to clipboard
@SerialName(value = "socks")
data class Socks(val host: String, val port: Int) : ProxyConfiguration

socks 代理

Properties

Link copied to clipboard
abstract val value: ProxyValue

得到配置结果