gmime.param

Module for [Param] class

Types 3

A parameter name/value pair as used in the Content-Type and Content-Disposition headers.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
Param self() nothrowReturns `this`, for use in `with` statements.
ParamGidBuilder builder() static nothrowGet builder for [gmime.param.Param] Returns: New builder object
string getCharset() nothrowGets the charset used for encoding the parameter. Returns: the charset used for encoding the parameter.
gmime.types.ParamEncodingMethod getEncodingMethod() nothrowGets the encoding method used for encoding the parameter. Returns: the encoding method used for encoding the parameter.
string getLang() nothrowGets the language specifier used for encoding the parameter. Returns: the language specifier used for encoding the parameter.
string getName() nothrowGets the name of the parameter. Returns: the name of the parameter.
string getValue() nothrowGets the value of the parameter. Returns: the value of the parameter.
void setCharset(string charset) nothrowSets the parameter charset used for encoding the value.
void setEncodingMethod(gmime.types.ParamEncodingMethod method) nothrowSets the encoding method used for encoding the value.
void setLang(string lang) nothrowSets the parameter language specifier used for encoding the value.
void setValue(string value) nothrowSets the parameter value to value.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder implementation template for gmime.param.Param

Fluent builder for gmime.param.Param

Methods
Param build() nothrowCreate object from builder. Returns: New object