Header
Object Hierarchy:
Description:
[
CCode ( type_id =
"g_mime_header_get_type ()" ) ]
public class Header :
Object
A message or mime-part header.
Content:
Creation methods:
Methods:
- public string format_addrlist (FormatOptions? options, string value, string charset)
Parses the value and then re-formats it to conform to the
formatting options, folding the value if necessary.
- public string format_content_disposition (FormatOptions? options, string value, string charset)
Parses the value and then re-formats it to conform to the
formatting options, folding the value if necessary.
- public string format_content_type (FormatOptions? options, string value, string charset)
Parses the value and then re-formats it to conform to the
formatting options, folding the value if necessary.
- public string format_default (FormatOptions? options, string value, string charset)
Parses the value and then re-formats it to conform to the
formatting options, folding the value if necessary.
- public string format_message_id (FormatOptions? options, string value, string charset)
Parses the value and then re-formats it to conform to the
formatting options, folding the value if necessary.
- public string format_newsgroups (FormatOptions? options, string value, string charset)
Parses the value and then re-formats it to conform to the
formatting options, folding the value if necessary.
- public string format_received (FormatOptions? options, string value, string charset)
Parses the value and then re-formats it to conform to the
formatting options, folding the value if necessary.
- public string format_references (FormatOptions? options, string value, string charset)
Parses the value and then re-formats it to conform to the
formatting options, folding the value if necessary.
- public unowned string get_name ()
Gets the header's name.
- public int64 get_offset ()
Gets the header's stream offset if known.
- public unowned string get_raw_name ()
Gets the header's raw name.
- public unowned string get_raw_value ()
Gets the header's raw (folded) value.
- public unowned string get_value ()
Gets the header's unfolded value.
- public void set_raw_value (string raw_value)
Sets the header's raw value.
- public void set_value (FormatOptions? options, string value, string? charset)
Sets the header's decoded value.
- public ssize_t write_to_stream (FormatOptions? options, Stream stream)
Write the header to the specified stream.
Inherited Members:
All known members inherited from class GLib.Object