ObjectWrap.setContentType

Sets the content-type for the specified MIME object and then serializes it to the Content-Type header field.

class ObjectWrap
void
setContentType

Parameters

contentType gmime.content_type.ContentType

a #GMimeContentType object