CookieStack

Implements a stack of cookies. Each cookie is pushed onto the stack by a parser, which takes its input from HttpHeaders. The stack can be populated for both client and server side cookies.

Constructors

this
this(int size)

Construct a cookie stack with the specified initial extent. The stack will grow as necessary over time.

Members

Functions

opApply
int opApply(int delegate(ref Cookie) dg)

Iterate over all cookies in stack

push
Cookie push()

Return a fresh cookie from the stack

reset
void reset()

Pop the stack all the way to zero

Meta