construct_from_parser


Description:

[ Version ( since = "3.0" ) ]
public async bool construct_from_parser (MimeParser parser, int io_priority, Cancellable? cancellable = null) throws Error

Asynchronously constructs a MIME part from a parser.

When the operation is finished, callback will be called. You can then call construct_from_parser.end to get the result of the operation.

Parameters:

this

a MimePart

parser

a MimeParser

io_priority

the I/O priority of the request

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when the request is satisfied

user_data

data to pass to the callback function




2022 vala-language.org