Method
GioDBusMessageset_header
since: 2.26
Declaration
void
g_dbus_message_set_header (
GDBusMessage* message,
GDBusMessageHeaderField header_field,
GVariant* value
)
Description
Sets a header field on message.
If value is floating, message assumes ownership of value.
Available since: 2.26
Parameters
header_field-
Type:
GDBusMessageHeaderFieldA 8-bit unsigned integer (typically a value from the
GDBusMessageHeaderFieldenumeration). value-
Type:
GVariantA
GVariantto set the header field orNULLto clear the header field.The argument can be NULL.The data is owned by the caller of the method.