setHeader

open fun setHeader(headerField: DBusMessageHeaderField, value: <Error class: unknown class>? = null)

Sets a header field on @message.

If @value is floating, @message assumes ownership of @value.

Since

2.26

Parameters

headerField

A 8-bit unsigned integer (typically a value from the #GDBusMessageHeaderField enumeration)

value

A #GVariant to set the header field or null to clear the header field.