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.
ProxyAddressEnumeratorGidBuilder builder() static nothrowGet builder for [gio.proxy_address_enumerator.ProxyAddressEnumerator] Returns: New builder objectgio.socket_connectable.SocketConnectable connectable() @property nothrowGet `connectable` property. Returns: The connectable being enumerated.uint defaultPort() @property nothrowGet `defaultPort` property. Returns: The default port to use if #GProxyAddressEnumerator:uri does not specify one.gio.proxy_resolver.ProxyResolver proxyResolver() @property nothrowGet `proxyResolver` property. Returns: The proxy resolver to use.void proxyResolver(gio.proxy_resolver.ProxyResolver propval) @property nothrowSet `proxyResolver` property. Params: propval = The proxy resolver to use.string uri() @property nothrowGet `uri` property. Returns: The destination URI. Use `none://` for a generic socket.Fluent builder implementation template for gio.proxy_address_enumerator.ProxyAddressEnumerator
T connectable(gio.socket_connectable.SocketConnectable propval) nothrowSet `connectable` property. Params: propval = The connectable being enumerated. Returns: Builder instance for fluent chainingT defaultPort(uint propval) nothrowSet `defaultPort` property. Params: propval = The default port to use if #GProxyAddressEnumerator:uri does not specify one. Returns: Builder instance for fluent chainingT proxyResolver(gio.proxy_resolver.ProxyResolver propval) nothrowSet `proxyResolver` property. Params: propval = The proxy resolver to use. Returns: Builder instance for fluent chainingT uri(string propval) nothrowSet `uri` property. Params: propval = The destination URI. Use `none://` for a generic socket. Returns: Builder instance for fluent chaining