get_default_for_protocol


Description:

public static Proxy? get_default_for_protocol (string protocol)

Find the `gio-proxy` extension point for a proxy implementation that supports the specified protocol.

Parameters:

protocol

the proxy protocol name (e.g. http, socks, etc)

Returns:

return a Proxy or NULL if protocol is not supported.




2022 vala-language.org