[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "3.12" ) ]
public async string[]? proxy_lookup (string uri, Cancellable? cancellable) throws Error
Asynchronously determines what proxy, if any, to use to connect to uri
.
See proxy_lookup_sync for more details.
When the operation is finished, callback
will be called. You can then call proxy_lookup.end to
get the result of the operation.
this |
an Source |
uri |
a URI representing the destination to connect to |
cancellable |
optional Cancellable object, or |
callback |
a TaskReadyCallback to call when the request is satisfied |
user_data |
data to pass to the callback function |