newFromMessage

fun newFromMessage(headers: MessageHeaders, body: <Error class: unknown class>): Multipart?

Parses @headers and @body to form a new #SoupMultipart

Return

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

Parameters

headers

the headers of the HTTP message to parse

body

the body of the HTTP message to parse