ContentType.this

Creates a Content-Type object with type type and subtype subtype.

  1. this(void* ptr, Flag!"Take" take)
  2. this(string type, string subtype)
    class ContentType
    this
    (
    string type
    ,
    string subtype
    )

Parameters

type string

the MIME type or null for the default value

subtype string

the MIME subtype or null for the default value

Return Value

a new #GMimeContentType object.