Gio.DBusConnection.prototype.get_capabilities

function get_capabilities(): Gio.DBusCapabilityFlags {
    // Gjs wrapper for g_dbus_connection_get_capabilities()
}
  

Gets the capabilities negotiated with the remote peer

Since 2.26

Returns

zero or more flags from the Gio.DBusCapabilityFlags enumeration