Gio.ProxyAddressEnumerator¶
class — extends SocketAddressEnumerator
GProxyAddressEnumerator is a wrapper around
SocketAddressEnumerator which takes the SocketAddress
instances returned by the SocketAddressEnumerator
and wraps them in ProxyAddress instances, using the given
ProxyAddressEnumerator.proxy-resolver.
This enumerator will be returned (for example, by
SocketConnectable.enumerate) as appropriate when a proxy is
configured; there should be no need to manually wrap a
SocketAddressEnumerator instance with one.
Properties¶
connectable¶
The connectable being enumerated.
default_port¶
The default port to use if ProxyAddressEnumerator:uri does not
specify one.
proxy_resolver¶
The proxy resolver to use.
uri¶
The destination URI. Use none:// for a generic socket.