1.67 <GProxyAddressEnumerator>

Class: <GProxyAddressEnumerator>

It derives from <GSocketAddressEnumerator>.

<GProxyAddressEnumerator> is a wrapper around <GSocketAddressEnumerator> which takes the <GSocketAddress> instances returned by the <GSocketAddressEnumerator> and wraps them in <GProxyAddress> instances, using the given proxy-address-enumerator:proxy-resolver.

This enumerator will be returned (for example, by socket-connectable:enumerate) as appropriate when a proxy is configured; there should be no need to manually wrap a <GSocketAddressEnumerator> instance with one.

Properties

Property: proxy-address-enumerator:connectable self

The connectable being enumerated.

Its value is a <GSocketConnectable>, or #f.

It can only be set when the object is made, with #:connectable.

Property: proxy-address-enumerator:default-port self

The default port to use if proxy-address-enumerator:uri does not specify one.

Its value is an unsigned 32-bit integer.

It can only be set when the object is made, with #:default-port.

Property: proxy-address-enumerator:proxy-resolver self

The proxy resolver to use.

Its value is a <GProxyResolver>, or #f.

Set it with (set! (proxy-address-enumerator:proxy-resolver self) value).

Property: proxy-address-enumerator:uri self

The destination URI. Use none:// for a generic socket.

Its value is a string, or #f.

It can only be set when the object is made, with #:uri.