gmime.param_list

Module for [ParamList] class

Types 3

A list of Content-Type or Content-Disposition parameters.

Methods
GType _gType() @property
ParamList self()Returns `this`, for use in `with` statements.
ParamListGidBuilder builder()Get builder for [gmime.param_list.ParamList] Returns: New builder object
gmime.param_list.ParamList parse(gmime.parser_options.ParserOptions options, string str)Parses the input string into a parameter list.
void clear()Clears the list of parameters.
void encode(gmime.format_options.FormatOptions options, bool fold, out glib.string_.String str)Encodes the parameter list into str, folding lines if required.
gmime.param.Param getParameter(string name)Gets the #GMimeParam with the given name.
gmime.param.Param getParameterAt(int index)Gets the #GMimeParam at the specified index.
int length()Gets the length of the list. Returns: the number of #GMimeParam items in the list.
bool remove(string name)Removes a parameter from the #GMimeParamList.
bool removeAt(int index)Removes a #GMimeParam from the #GMimeParamList at the specified index.
void setParameter(string name, string value)Sets the specified parameter to value.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new Content-Type or Content-Disposition parameter list. Returns: a new #GMimeParamList.

Fluent builder for [gmime.param_list.ParamList]

Methods