toggle menu
openai-kotlin
common
switch theme
search in API
openai-client
/
com.aallam.openai.client
/
ProxyConfig
Proxy
Config
sealed
interface
ProxyConfig
Proxy configuration.
Inheritors
Http
Socks
Members
Types
Http
Link copied to clipboard
class
Http
(
val
url
:
String
)
:
ProxyConfig
Creates an HTTP proxy from
url
.
Socks
Link copied to clipboard
class
Socks
(
val
host
:
String
,
val
port
:
Int
)
:
ProxyConfig
Create socks proxy from
host
and
port
.