ProxyIF.getDefaultForProtocol

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

interface ProxyIF
static
getDefaultForProtocol
(
string protocol
)

Parameters

protocol string

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

Return Value

Type: ProxyIF

return a #GProxy or NULL if protocol is not supported.

Meta

Since

2.26