Gio.TestDBus.prototype.get_bus_address

function get_bus_address(): String {
    // Gjs wrapper for g_test_dbus_get_bus_address()
}
  

Get the address on which dbus-daemon is running. If Gio.TestDBus.prototype.up has not been called yet, null is returned. This can be used with Gio.DBusConnection.new_for_address.

Returns

the address of the bus, or null.