PrefaceParser

Constructors

this
this(Parser.Listener listener)
Undocumented in source.

Members

Functions

directUpgrade
void directUpgrade()

<p> Advances this parser after the {@link PrefaceFrame#PREFACE_PREAMBLE_BYTES}. </p> <p> This allows the HTTP/1.1 parser to parse the preamble of the preface, which is a legal HTTP/1.1 request, and this parser will parse the remaining bytes, that are not parseable by a HTTP/1.1 parser. </p>

notifyConnectionFailure
void notifyConnectionFailure(int error, string reason)
Undocumented in source. Be warned that the author may not have intended to support it.
parse
bool parse(ByteBuffer buffer)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta