Gio.DBusObjectManagerServer.prototype.set_connection

function set_connection(connection: Gio.DBusConnection): void {
    // Gjs wrapper for g_dbus_object_manager_server_set_connection()
}
  

Exports all objects managed by manager on connection. If connection is null, stops exporting objects.

connection

A Gio.DBusConnection or null.