gmime.content_disposition
Module for [ContentDisposition] class
Types 3
A data structure representing a Content-Disposition.
Methods
ContentDispositionGidBuilder builder() static nothrowGet builder for [gmime.content_disposition.ContentDisposition] Returns: New builder objectgmime.content_disposition.ContentDisposition parse(gmime.parser_options.ParserOptions options, string str) static nothrowParses the input string into a #GMimeContentDisposition object.string encode(gmime.format_options.FormatOptions options = null) nothrowEncodes the Content-Disposition header.string getDisposition() nothrowGets the disposition or null on fail. Returns: the disposition string which is probably one of #GMIME_DISPOSITION_ATTACHMENT or #GMIME_DISPOSITION_INLINE.string getParameter(string name) nothrowGets the parameter value specified by name if it's available.gmime.param_list.ParamList getParameters() nothrowGets the Content-Disposition parameter list. Returns: the Content-Disposition's parameter list.bool isAttachment() nothrowDetermines if a Content-Disposition has a value of "attachment". Returns: true if the value matches "attachment", otherwise false.void setDisposition(string value) nothrowSets the disposition to value which may be one of #GMIME_DISPOSITION_ATTACHMENT or #GMIME_DISPOSITION_INLINE or, by your choice, any other string which would indicate how the MIME part should be di...Fluent builder implementation template for gmime.content_disposition.ContentDisposition
Fluent builder for gmime.content_disposition.ContentDisposition
Methods