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.

class HttpTokens
protected static
class FilteredTokens {}

Constructors

this
this(HttpTokens tokens, cstring 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