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)

Set a proxy on the PK daemon

Parameters:

this

a valid Control instance

proxy_http

a HTTP proxy string such as "username:passwordserver.lan:8080", or null

proxy_https

a HTTPS proxy string such as "username:passwordserver.lan:8080", or null

proxy_ftp

a FTP proxy string such as "server.lan:8080", or null

proxy_socks

a SOCKS proxy string such as "server.lan:8080", or null

no_proxy

a list of download IPs that shouldn't go through the proxy, or null

pac

a PAC string, or null

cancellable

a Cancellable or null

callback

the function to run on completion

user_data

the data to pass to callback