Proxy.getDefaultForProtocol

gio.proxy.Proxy getDefaultForProtocol(string protocol)

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

Parameters

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

Returns

return a #GProxy or NULL if protocol

is not supported.