set_proxy


Description:

[ Version ( since = "0.6.3" ) ]
public bool set_proxy (string proxy_http, string proxy_ftp, 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.

Parameters:

this

a valid Control instance

proxy_http

the HTTP proxy server

proxy_ftp

the FTP proxy server

cancellable

a Cancellable or null

Returns: