Gio.DBusMethodInvocation.prototype.get_method_name

function get_method_name(): String {
    // Gjs wrapper for g_dbus_method_invocation_get_method_name()
}
  

Gets the name of the method that was invoked.

Since 2.26

Returns

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