Multipart.from_message


Description:

[ CCode ( has_construct_function = false ) ]
public Multipart.from_message (MessageHeaders headers, MessageBody body)

Parses headers and body to form a new Multipart

Parameters:

headers

the headers of the HTTP message to parse

body

the body of the HTTP message to parse

Returns:

a new Multipart (or null if the message couldn't be parsed or wasn't multipart).