[ Version ( since = "0.6.13" ) ]
public bool set_proxy2 (string proxy_http, string proxy_https, string proxy_ftp, string proxy_socks, string no_proxy, string pac, Cancellable? cancellable = null) throws Error
Sets the network proxy to use in the daemon.
Warning: this function is synchronous, and may block. Do not use it in GUI applications.
| this |
a valid Control instance |
| proxy_http |
the HTTP proxy server |
| proxy_https |
the HTTPS proxy server |
| proxy_ftp |
the FTP proxy server |
| proxy_socks |
the SOCKS proxy server |
| no_proxy |
the list of download IPs that shouldn't go through the proxy |
| pac |
the PAC string |
| cancellable |
a Cancellable or null |
|
true if the proxy was set correctly |