ContentType
Object Hierarchy:
Description:
[ CCode ( ref_function = "camel_content_type_ref" , type_id = "camel_content_type_get_type ()" , unref_function = "camel_content_type_unref" ) ]
[ Compact ]
public class ContentType
Content:
Static methods:
- public static ContentType decode (string @in)
Creation methods:
Methods:
- public bool @is (string type, string subtype)
The subtype of "*" will match any subtype.
- public ContentType @ref ()
Refs the content type.
- public void dump ()
- public string format ()
- public unowned string param (string name)
Searches the params on s ContentType for a
param named name
and gets the value.
- public void set_param (string name, string value)
Set a parameter on this.
- public string simple ()
- public void unref ()
Unrefs, and potentially frees, the content type.
Fields: