Gio.DBusProxy.prototype.get_connection

function get_connection(): Gio.DBusConnection {
    // Gjs wrapper for g_dbus_proxy_get_connection()
}
  

Gets the connection proxy is for.

Since 2.26

Returns

A Gio.DBusConnection owned by proxy. Do not free.