ProxyT.gProxyGetDefaultForProtocol

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

template ProxyT(TStruct)
static
ProxyIF
gProxyGetDefaultForProtocol
(
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. [transfer full]

Meta