set_proxy_async


Description:

[ Version ( since = "0.5.2" ) ]
public async bool set_proxy_async (string proxy_http, string proxy_ftp, Cancellable? cancellable) throws Error

Set a proxy on the PK daemon

NOTE: This is just provided for backwards compatibility. Clients should really be using set_proxy2_async.

Parameters:

this

a valid Control instance

proxy_http

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

proxy_ftp

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

cancellable

a Cancellable or null

callback

the function to run on completion

user_data

the data to pass to callback




2022 vala-language.org