ProxyAddressEnumerator#

class ProxyAddressEnumerator(**properties: Any)#

Superclasses: SocketAddressEnumerator, Object

GProxyAddressEnumerator is a wrapper around SocketAddressEnumerator which takes the SocketAddress instances returned by the SocketAddressEnumerator and wraps them in ProxyAddress instances, using the given proxy_resolver.

This enumerator will be returned (for example, by enumerate) as appropriate when a proxy is configured; there should be no need to manually wrap a SocketAddressEnumerator instance with one.

Properties#

class ProxyAddressEnumerator
props.connectable: SocketConnectable#

The type of the None singleton.

props.default_port: int#

The type of the None singleton.

Added in version 2.38.

props.proxy_resolver: ProxyResolver#

The type of the None singleton.

Added in version 2.36.

props.uri: str#

The type of the None singleton.

Fields#

class ProxyAddressEnumerator
parent_instance#
priv#