get_part


Description:

public bool get_part (int part, out unowned MessageHeaders headers, out unowned Bytes body)

Gets the indicated body part from this.

Parameters:

this

a Multipart

part

the part number to get (counting from 0)

headers

return 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)