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 property@Gio.ProxyAddressEnumerator:proxy-resolver.
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.
ProxyAddressEnumerator self()Returns `this`, for use in `with` statements.ProxyAddressEnumeratorGidBuilder builder()Get builder for [gio.proxyaddressenumerator.ProxyAddressEnumerator] Returns: New builder objectgio.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.T connectable(gio.socket_connectable.SocketConnectable propval)Set `connectable` property. Params: propval = The connectable being enumerated. Returns: Builder instance for fluent chainingT 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 chainingT proxyResolver(gio.proxy_resolver.ProxyResolver propval)Set `proxyResolver` property. Params: propval = The proxy resolver to use. Returns: Builder instance for fluent chainingT uri(string propval)Set `uri` property. Params: propval = The destination URI. Use `none://` for a generic socket. Returns: Builder instance for fluent chainingFluent builder for [gio.proxy_address_enumerator.ProxyAddressEnumerator]