gmime.header
Module for [Header] class
Types 3
classHeader : gobject.object.ObjectWrap
A message or mime-part header.
Methods
HeaderGidBuilder builder() static nothrowGet builder for [gmime.header.Header] Returns: New builder objectstring formatAddrlist(gmime.format_options.FormatOptions options, string value, string charset) nothrowParses the value and then re-formats it to conform to the formatting options, folding the value if necessary.string formatContentDisposition(gmime.format_options.FormatOptions options, string value, string charset) nothrowParses the value and then re-formats it to conform to the formatting options, folding the value if necessary.string formatContentType(gmime.format_options.FormatOptions options, string value, string charset) nothrowParses the value and then re-formats it to conform to the formatting options, folding the value if necessary.string formatDefault(gmime.format_options.FormatOptions options, string value, string charset) nothrowParses the value and then re-formats it to conform to the formatting options, folding the value if necessary.string formatMessageId(gmime.format_options.FormatOptions options, string value, string charset) nothrowParses the value and then re-formats it to conform to the formatting options, folding the value if necessary.string formatNewsgroups(gmime.format_options.FormatOptions options, string value, string charset) nothrowParses the value and then re-formats it to conform to the formatting options, folding the value if necessary.string formatReceived(gmime.format_options.FormatOptions options, string value, string charset) nothrowParses the value and then re-formats it to conform to the formatting options, folding the value if necessary.string formatReferences(gmime.format_options.FormatOptions options, string value, string charset) nothrowParses the value and then re-formats it to conform to the formatting options, folding the value if necessary.long getOffset() nothrowGets the header's stream offset if known. Returns: the header offset or %-1 if unknown.string getRawName() nothrowGets the header's raw name. The raw header name is the complete string up to (but not including) the ':' separating the header's name from its value. This string may be different from the value ret...string getRawValue() nothrowGets the header's raw (folded) value. Returns: the header value or null if invalid.string getValue() nothrowGets the header's unfolded value. Returns: the header's decoded value or null if invalid.void setValue(gmime.format_options.FormatOptions options, string value, string charset = null) nothrowSets the header's decoded value.ptrdiff_t writeToStream(gmime.format_options.FormatOptions options, gmime.stream.Stream stream) nothrowWrite the header to the specified stream.Fluent builder implementation template for gmime.header.Header
Fluent builder for gmime.header.Header