ObjectWrap.getContentType

gmime.content_type.ContentType getContentType() nothrow

Gets the #GMimeContentType object for the given MIME object or null on fail.

Returns

the content-type object for the specified

MIME object.