Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <HTTPMessageParser.h>
Public Member Functions | |
virtual void | OnBodyData (const void *a_Data, size_t a_Size)=0 |
Called for each chunk of the incoming body data. More... | |
virtual void | OnBodyFinished (void)=0 |
Called when the entire body has been reported by OnBodyData(). More... | |
virtual void | OnError (const AString &a_ErrorDescription)=0 |
Called when an error has occured while parsing. More... | |
virtual void | OnFirstLine (const AString &a_FirstLine)=0 |
Called when the first line of the request or response is fully parsed. More... | |
virtual void | OnHeaderLine (const AString &a_Key, const AString &a_Value)=0 |
Called when a single header line is parsed. More... | |
virtual void | OnHeadersFinished (void)=0 |
Called when all the headers have been parsed. More... | |
virtual | ~cCallbacks () |
Definition at line 25 of file HTTPMessageParser.h.
|
inlinevirtual |
Definition at line 29 of file HTTPMessageParser.h.
|
pure virtual |
Called for each chunk of the incoming body data.
Implemented in cHttpSchemeHandler, and cHTTPServerConnection.
|
pure virtual |
Called when the entire body has been reported by OnBodyData().
Implemented in cHttpSchemeHandler, and cHTTPServerConnection.
|
pure virtual |
Called when an error has occured while parsing.
Implemented in cHttpSchemeHandler, and cHTTPServerConnection.
|
pure virtual |
Called when the first line of the request or response is fully parsed.
Doesn't check the validity of the line, only extracts the first complete line.
Implemented in cHttpSchemeHandler, and cHTTPServerConnection.
|
pure virtual |
Called when a single header line is parsed.
Implemented in cHttpSchemeHandler, and cHTTPServerConnection.
|
pure virtual |
Called when all the headers have been parsed.
Implemented in cHttpSchemeHandler, and cHTTPServerConnection.