Gio.DBusMethodInvocation.prototype.get_connection
function get_connection(): Gio.DBusConnection {
// Gjs wrapper for g_dbus_method_invocation_get_connection()
}
Gets the Gio.DBusConnection the method was invoked on.
Since 2.26
- Returns
A Gio.DBusConnection. Do not free, it is owned by invocation.