ProxyT.getDefaultForProtocol

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

template ProxyT(TStruct)
static
ProxyIF
getDefaultForProtocol
(
string protocol
)

Parameters

protocol string

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

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

Meta

Since

2.26