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_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
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref