MimeFilterProgress


Description:

[ CCode ( has_construct_function = false , type = "CamelMimeFilter*" ) ]
public MimeFilterProgress (Cancellable? cancellable = null, size_t total)

Create a new MimeFilterProgress object that will report streaming progress.

While the function will silently accept cancellable being null or a plain Cancellable for convenience sake, no progress will be reported unless cancellable is a Operation.

Parameters:

cancellable

a Operation cast as a Cancellable

total

total number of bytes to report progress on

Returns:

a new MimeFilter object