Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <HTTPServer.h>
Public Member Functions | |
virtual void | OnRequestBegun (cHTTPServerConnection &a_Connection, cHTTPIncomingRequest &a_Request)=0 |
Called when a new request arrives over a connection and all its headers have been parsed. More... | |
virtual void | OnRequestBody (cHTTPServerConnection &a_Connection, cHTTPIncomingRequest &a_Request, const char *a_Data, size_t a_Size)=0 |
Called when another part of request body has arrived. More... | |
virtual void | OnRequestFinished (cHTTPServerConnection &a_Connection, cHTTPIncomingRequest &a_Request)=0 |
Called when the request body has been fully received in previous calls to OnRequestBody() More... | |
virtual | ~cCallbacks () |
Definition at line 33 of file HTTPServer.h.
|
inlinevirtual |
Definition at line 36 of file HTTPServer.h.
|
pure virtual |
Called when a new request arrives over a connection and all its headers have been parsed.
The request body needn't have arrived yet.
Implemented in cWebAdmin.
|
pure virtual |
Called when another part of request body has arrived.
May be called multiple times for a single request.
Implemented in cWebAdmin.
|
pure virtual |
Called when the request body has been fully received in previous calls to OnRequestBody()
Implemented in cWebAdmin.