toggle menu
Simple Robot
4.8.0
common
switch theme
search in API
simbot-api
/
love.forte.simbot.bot.configuration
/
ProxyConfiguration
Proxy
Configuration
@
Serializable
sealed
class
ProxyConfiguration
(
source
)
得到一个与
Ktor proxy
类似的配置结果的配置类。
Author
ForteScarlet
Inheritors
Http
Socks
Members
Constructors
Proxy
Configuration
Link copied to clipboard
protected
constructor
(
)
Types
Http
Link copied to clipboard
@
Serializable
@
SerialName
(
value
=
"http"
)
data
class
Http
(
val
url
:
String
)
:
ProxyConfiguration
Http 代理
Socks
Link copied to clipboard
@
Serializable
@
SerialName
(
value
=
"socks"
)
data
class
Socks
(
val
host
:
String
,
val
port
:
Int
)
:
ProxyConfiguration
socks 代理
Properties
value
Link copied to clipboard
abstract
val
value
:
ProxyValue
得到配置结果