HttpTokens.FilteredTokens

Implements a filter for iterating over tokens matching a particular name. We do it like this because there's no means of passing additional information to an opApply() method.

Constructors

this
this(HttpTokens tokens, const(char)[] match)

Construct this filter upon the given tokens, and set the pattern to match against.

Members

Functions

opApply
int opApply(int delegate(ref HttpToken) dg)

Iterate over all tokens matching the given name

Meta