HttpCookiesView

This is the support point for server-side cookies. It wraps a CookieStack together with a set of HttpHeaders, along with the appropriate cookie parser. One would do something very similar for client side cookie parsing also.

Constructors

this
this(HttpHeadersView headers)

Construct cookie wrapper with the provided headers.

Members

Functions

parse
CookieStack parse()

Parse all cookies from our HttpHeaders, pushing each onto the CookieStack as we go.

produce
void produce(size_t delegate(const(void)[]) consume, const(char)[] eol)

Output the token list to the provided consumer

reset
void reset()

Reset these cookies for another parse

Meta