ObjectWrap.setContentType

void setContentType(gmime.content_type.ContentType contentType)

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

Parameters

contentTypea #GMimeContentType object