Gio.DBusMessage.prototype.get_header_fields

function get_header_fields(): ByteArray {
    // Gjs wrapper for g_dbus_message_get_header_fields()
}
  

Gets an array of all header fields on message that are set.

Since 2.26

Returns

An array of header fields terminated by Gio.DBusMessageHeaderField.invalid. Each element is a #guchar. Free with GLib.free.