Gio.ProxyAddressEnumerator¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The connectable being enumerated. |
||
r/w/co |
The default port to use if uri does not specify one |
||
r/w/c |
The proxy resolver to use. |
||
r/w/co |
The destination URI, use none:// for generic socket |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Gio.ProxyAddressEnumerator(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Gio.ProxyAddressEnumerator
is a wrapper aroundGio.SocketAddressEnumerator
which takes theGio.SocketAddress
instances returned by theGio.SocketAddressEnumerator
and wraps them inGio.ProxyAddress
instances, using the givenGio.ProxyAddressEnumerator
:proxy-resolver
.This enumerator will be returned (for example, by
Gio.SocketConnectable.enumerate
()) as appropriate when a proxy is configured; there should be no need to manually wrap aGio.SocketAddressEnumerator
instance with one.
Property Details¶
- Gio.ProxyAddressEnumerator.props.connectable¶
- Name:
connectable
- Type:
- Default Value:
- Flags:
The connectable being enumerated.
- Gio.ProxyAddressEnumerator.props.default_port¶
- Name:
default-port
- Type:
- Default Value:
0
- Flags:
The default port to use if
Gio.ProxyAddressEnumerator
:uri
does not specify one.New in version 2.38.
- Gio.ProxyAddressEnumerator.props.proxy_resolver¶
- Name:
proxy-resolver
- Type:
- Default Value:
- Flags:
The proxy resolver to use.
New in version 2.36.