get_header


Description:

public unowned Variant? get_header (DBusMessageHeaderField header_field)

Gets a header field on this.

The caller is responsible for checking the type of the returned Variant matches what is expected.

Parameters:

this

A DBusMessage.

header_field

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

Returns:

A Variant with the value if the header was found, null otherwise. Do not free, it is owned by this.




2022 vala-language.org