ProxyAddressEnumerator
GProxyAddressEnumerator
is a wrapper around class@Gio.SocketAddressEnumerator which takes the class@Gio.SocketAddress instances returned by the class@Gio.SocketAddressEnumerator and wraps them in class@Gio.ProxyAddress instances, using the given property@Gio.ProxyAddressEnumerator:proxy-resolver.
This enumerator will be returned (for example, by method@Gio.SocketConnectable.enumerate) as appropriate when a proxy is configured; there should be no need to manually wrap a class@Gio.SocketAddressEnumerator instance with one.
Skipped during bindings generation
method
connectable
: Property has no getter nor settermethod
default-port
: Property has no getter nor settermethod
proxy-resolver
: Property has no getter nor settermethod
uri
: Property has no getter nor setter
Constructors
Functions
Retrieves the next #GSocketAddress from @enumerator. Note that this may block for some amount of time. (Eg, a #GNetworkAddress may need to do a DNS lookup before it can return an address.) Use g_socket_address_enumerator_next_async() if you need to avoid blocking.
Asynchronously retrieves the next #GSocketAddress from @enumerator and then calls @callback, which must call g_socket_address_enumerator_next_finish() to get the result.
Retrieves the result of a completed call to g_socket_address_enumerator_next_async(). See g_socket_address_enumerator_next() for more information about error handling.