dup_headers_sync


Description:

[ Version ( since = "3.58" ) ]
public virtual bool dup_headers_sync (string uid, out NameValueArray out_headers, Cancellable? cancellable = null) throws Error

Reads headers of a message with the uid and returns it in the out_headers.

Free the headers with free, when no longer needed.

This is an optional method, which is meant to be used by the providers which can read the headers from the server when not available locally. The default implementation tries to read the headers from a loaded message info and a locally cached message when its file name is known. It returns a G_IO_ERROR_NOT_FOUND error when failed.

Parameters:

this

a Folder

uid

a message UID

out_headers

return location to set read NameValueArray to

cancellable

optional Cancellable object, or null

Returns:

whether the headers had been found and the out_headers populated