Basics
Guides
API Reference
Basics
Guides
API Reference
[12:7] extends: object
A [class@Gio.InetSocketAddress] representing a connection via a proxy server.
ProxyAddress (Handle = null)
Creates a new
ProxyAddressby wrapping a native handle or another wrapper.
Handle is the native handle or another wrapper whose handle to adopt.toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asInetSocketAddress ()
Wraps this handle as
InetSocketAddress.
A InetSocketAddress object.asSocketConnectable ()
Wraps this handle as
SocketConnectable.
A SocketConnectable object.get_destination_hostname ()
Gets @proxy's destination hostname; that is, the name of the host that will be connected to via the proxy, not the name of the proxy itself.
get_destination_protocol ()
Gets the protocol that is being spoken to the destination server; eg, "http" or "ftp".
get_password ()
Gets @proxy's password.
get_protocol ()
Gets @proxy's protocol. eg, "socks" or "http"
get_uri ()
Gets the proxy URI that @proxy was constructed from.
get_username ()
Gets @proxy's username.
[161:14] static extends: object
Generated metadata helpers for ProxyAddress class surfaces.
properties ()
Returns property metadata for
ProxyAddress.
A list.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.