ContentType.parse

Parses the input string into a #GMimeContentType object.

Parameters

optionsa #GMimeParserOptions or null
strinput string containing a content-type (and params)

Returns

a new #GMimeContentType object.