HttpTokens.add

Add a token with the given name. The content is provided via the specified delegate. We stuff this name & content into the output buffer, and map a new Token onto the appropriate buffer slice.

  1. void add(const(char)[] name, void delegate(OutputBuffer) value)
    class HttpTokens
    protected
    void
    add
    (
    const(char)[] name
    ,
    scope void delegate
    (
    OutputBuffer
    )
    value
    )
  2. void add(const(char)[] name, const(char)[] value)

Meta