Construct a HttpStack with the specified initial size. The stack will later be resized as necessary.
Clone this stack of tokens
Scan the tokens looking for the first one with a matching name. Returns the matching Token, or null if there is no such match.
Iterate over all tokens in stack
Pop the stack by one.
Push a new token onto the stack, and set it content to that provided. Returns the new Token.
Push a new token onto the stack, and set it content to be that of the specified token. Returns the new Token.
Push a new token onto the stack, and return it.
Scan the tokens looking for the first one with a matching name, and remove it. Returns true if a match was found, or false if not.
Pop the stack all the way back to zero
Return the current stack depth
A stack of Tokens, used for capturing http headers. The tokens themselves are typically mapped onto the content of a Buffer, or some other external content, so there's minimal allocation involved (typically zero).