get_default_for_protocol


Description:

public static Proxy get_default_for_protocol (string protocol)

Lookup "gio-proxy" extension point for a proxy implementation that supports specified protocol.

Parameters:

protocol

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

Returns:

return a Proxy or NULL if protocol is not supported.