set_header


Description:

public void set_header (DBusMessageHeaderField header_field, Variant? value)

Sets a header field on this.

If value is floating, this assumes ownership of value.

Parameters:

this

a D-Bus message

header_field

a 8-bit unsigned integer (typically a value from the [enum@Gio.DBusMessageHeaderField enumeration)

value

a [type@GLib.Variant] to set the header field, or `NULL` to clear the header field.