[ Version ( since = "3.42" ) ]
public virtual bool take_user_headers (owned NameValueArray? headers)
Takes user-defined message headers of the associated message.
If the this changed, the 'dirty' flag is set automatically, unless the this is aborting notifications. There is not emitted folder's "changed" signal for this this.
Note that it's not safe to use the headers
after the call to this function, because it can be freed due to no change.
this | |
headers |
headers to set, as NameValueArray, or null |
Whether the value changed. |