HttpResource.h
Go to the documentation of this file.
23 typedef Delegate<int(HttpServerConnection& connection, HttpRequest&, const char* at, int length)>
27 typedef Delegate<int(HttpServerConnection& connection, HttpRequest& request, HttpResponse& response)>
HttpResourceDelegate onRequestComplete
request is complete OR upgraded
Definition: HttpResource.h:47
Definition: HttpServerConnection.h:33
Delegate< int(HttpServerConnection &connection, HttpRequest &request, HttpResponse &response)> HttpResourceDelegate
Definition: HttpResource.h:28
Definition: HttpResource.h:30
HttpServerConnectionUpgradeDelegate onUpgrade
request is upgraded and raw data is passed to it
Definition: HttpResource.h:48
Delegate< int(HttpServerConnection &connection, HttpRequest &, char *at, int length)> HttpServerConnectionUpgradeDelegate
Definition: HttpResource.h:26
virtual void shutdown(HttpServerConnection &connection)
Takes care to cleanup the connection.
Definition: HttpResource.h:40
Delegate< int(HttpServerConnection &connection, HttpRequest &, const char *at, int length)> HttpServerConnectionBodyDelegate
Definition: HttpResource.h:21
HttpServerConnectionBodyDelegate onBody
resource wants to process the raw body data
Definition: HttpResource.h:45
HttpResourceDelegate onHeadersComplete
headers are ready
Definition: HttpResource.h:46