Gio.DBusMethodInvocation.prototype.get_sender

function get_sender(): String {
    // Gjs wrapper for g_dbus_method_invocation_get_sender()
}
  

Gets the bus name that invoked the method.

Since 2.26

Returns

A string. Do not free, it is owned by invocation.