Header.formatContentType

Parses the value and then re-formats it to conform to the formatting options, folding the value if necessary.

class Header
string
formatContentType

Parameters

options gmime.format_options.FormatOptions

a #GMimeFormatOptions or null

value string

a Content-Type header value

charset string

a charset (note: unused)

Return Value

Type: string

a newly allocated string containing the reformatted value.