Multipart.this

Creates a new empty #SoupMultipart with a randomly-generated boundary string.

Note that mime_type must be the full MIME type, including "multipart/".

See also: soup.message.Message.newFromMultipart.

  1. this(void* ptr, Flag!"Take" take)
  2. this(string mimeType)
    class Multipart
    this
    (
    string mimeType
    )

Parameters

mimeType string

the MIME type of the multipart to create.

Return Value

a new empty #SoupMultipart of the given mime_type