set_proxy2_async
Description:
[ Version ( since = "0.6.13" ) ]
public async void set_proxy2_async (string proxy_http, string proxy_https, string proxy_ftp, string proxy_socks, string no_proxy, string pac, Cancellable? cancellable)
public async void set_proxy2_async (string proxy_http, string proxy_https, string proxy_ftp, string proxy_socks, string no_proxy, string pac, Cancellable? cancellable)
Set a proxy on the PK daemon
Parameters:
this |
a valid Control instance |
proxy_http |
a HTTP proxy string such as "username:password |
proxy_https |
a HTTPS proxy string such as "username:password |
proxy_ftp |
a FTP proxy string such as "server.lan:8080", or |
proxy_socks |
a SOCKS proxy string such as "server.lan:8080", or |
no_proxy |
a list of download IPs that shouldn't go through the proxy, or |
pac |
a PAC string, or |
cancellable |
a Cancellable or |
callback |
the function to run on completion |
user_data |
the data to pass to |