Multipart.getPart

bool getPart(int part, out soup.message_headers.MessageHeaders headers, out glib.bytes.Bytes body_)

Gets the indicated body part from multipart.

Parameters

partthe part number to get (counting from 0)
headersreturn location for the MIME part headers
body_return location for the MIME part body

Returns

true on success, false if part is out of range (in

which case headers and body won't be set)