pub async fn add_proxy(
server: String,
port: i32,
enable: bool,
type: ProxyType,
client_id: i32,
) -> Result<Proxy, Error>
Expand description
Adds a proxy server for network requests. Can be called before authorization
ยงArguments
server
- Proxy server domain or IP addressport
- Proxy server portenable
- Pass true to immediately enable the proxyr#type
- Proxy typeclient_id
- The client id to send the request to