Gio.UnixSocketAddress.new
function new(path: String): Gio.SocketAddress {
// Gjs wrapper for g_unix_socket_address_new()
}
Creates a new Gio.UnixSocketAddress for path.
To create abstract socket addresses, on systems that support that, use Gio.UnixSocketAddress.new_abstract.
Since 2.22
- path
the socket path
- Returns
a new Gio.UnixSocketAddress