gmime.stream_filter

Module for [StreamFilter] class

Types 3

A #GMimeStream which passes data through any #GMimeFilter objects.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
StreamFilter self() nothrowReturns `this`, for use in `with` statements.
StreamFilterGidBuilder builder() static nothrowGet builder for [gmime.stream_filter.StreamFilter] Returns: New builder object
int add(gmime.filter.Filter filter) nothrowAdds filter to stream. Filters are applied in the same order in which they are added.
bool getOwner() nothrowGets whether or not stream owns the source stream. Returns: true if stream owns the source stream or false otherwise.
void remove(int id) nothrowRemoved a filter from the stream based on the id (as returned from filter_add).
void setOwner(bool owner) nothrowSets whether or not stream owns the source stream..
Constructors
this(void * ptr, Flag!"Take" take)
this(gmime.stream.Stream stream)Creates a new #GMimeStreamFilter object using stream as the source stream.
Methods
StreamFilter build() nothrowCreate object from builder. Returns: New object