Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GProxyResolver |
Interface : | ProxyResolver |
None |
Method / Constructor | Defined By | |
---|---|---|
is_supported
()
:
gboolean
Checks if resolver can be used on this system.
Checks if resolver can be used on this system. (This is used
internally; g_proxy_resolver_get_default() will only return a proxy resolver that returns TRUE for this method.)
|
Gio.ProxyResolver | |
Looks into the system proxy configuration to determine what proxy,
if any, to use to connect to uri.
Looks into the system proxy configuration to determine what proxy,
if any, to use to connect to uri. The returned proxy URIs are of the form or http, rtsp, socks or other proxying protocol. If you don't know what network protocol is being used on the socket, you should use In this case, the resolver might still return a generic proxy type (such as SOCKS), but would not return protocol-specific proxy types (such as http). Direct connection should not be attempted unless it is part of the returned array of proxies. NULL-terminated array of proxy URIs. Must be freed with g_strfreev().
|
Gio.ProxyResolver | |
Asynchronous lookup of proxy.
Asynchronous lookup of proxy. See g_proxy_resolver_lookup() for more
details.
|
Gio.ProxyResolver | |
lookup_finish
(AsyncResult result)
:
Array
Call this function to obtain the array of proxy URIs when
g_proxy_resolver_lookup_async() is complete.
Call this function to obtain the array of proxy URIs when
g_proxy_resolver_lookup_async() is complete. See g_proxy_resolver_lookup() for more details. NULL-terminated array of proxy URIs. Must be freed with g_strfreev().
|
Gio.ProxyResolver |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gio
Method |
Gio.proxy_resolver_get_default
()
:
Gio.ProxyResolver
Gets the default GProxyResolver for the system.
|
Soup.ProxyResolverDefault
Property |
gproxy_resolver : Gio.ProxyResolver
|