Function edit_proxy

Source
pub async fn edit_proxy(
    proxy_id: i32,
    server: String,
    port: i32,
    enable: bool,
    type: ProxyType,
    client_id: i32,
) -> Result<Proxy, Error>
Expand description

Edits an existing proxy server for network requests. Can be called before authorization

ยงArguments

  • proxy_id - Proxy identifier
  • server - Proxy server domain or IP address
  • port - Proxy server port
  • enable - Pass true to immediately enable the proxy
  • r#type - Proxy type
  • client_id - The client id to send the request to