gio.proxy_address_enumerator

Module for ProxyAddressEnumerator class

Types 3

gio.proxy_address_enumerator.ProxyAddressEnumerator is a wrapper around gio.socket_address_enumerator.SocketAddressEnumerator which takes the gio.socket_address.SocketAddress instances returned by the gio.socket_address_enumerator.SocketAddressEnumerator and wraps them in gio.proxy_address.ProxyAddress instances, using the given gio.proxy_address_enumerator.ProxyAddressEnumerator.proxyResolver.

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

Methods
GType _gType() @property
ProxyAddressEnumerator self()Returns `this`, for use in `with` statements.
ProxyAddressEnumeratorGidBuilder builder()Get builder for [gio.proxy_address_enumerator.ProxyAddressEnumerator] Returns: New builder object
gio.socket_connectable.SocketConnectable connectable() @propertyGet `connectable` property. Returns: The connectable being enumerated.
uint defaultPort() @propertyGet `defaultPort` property. Returns: The default port to use if #GProxyAddressEnumerator:uri does not specify one.
gio.proxy_resolver.ProxyResolver proxyResolver() @propertyGet `proxyResolver` property. Returns: The proxy resolver to use.
void proxyResolver(gio.proxy_resolver.ProxyResolver propval) @propertySet `proxyResolver` property. Params: propval = The proxy resolver to use.
string uri() @propertyGet `uri` property. Returns: The destination URI. Use `none://` for a generic socket.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder implementation template for gio.proxy_address_enumerator.ProxyAddressEnumerator

Methods
T connectable(gio.socket_connectable.SocketConnectable propval)Set `connectable` property. Params: propval = The connectable being enumerated. Returns: Builder instance for fluent chaining
T defaultPort(uint propval)Set `defaultPort` property. Params: propval = The default port to use if #GProxyAddressEnumerator:uri does not specify one. Returns: Builder instance for fluent chaining
T proxyResolver(gio.proxy_resolver.ProxyResolver propval)Set `proxyResolver` property. Params: propval = The proxy resolver to use. Returns: Builder instance for fluent chaining
T uri(string propval)Set `uri` property. Params: propval = The destination URI. Use `none://` for a generic socket. Returns: Builder instance for fluent chaining