diff options
author | Mattes D <github@xoft.cz> | 2015-12-25 19:54:04 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-03-01 16:19:55 +0100 |
commit | b92346e3cc517fe2d9f01720110e51cf3ea22c44 (patch) | |
tree | d4fe00f0114d53bcd9c637964fdff78aaceee66d /src/WebAdmin.h | |
parent | Renamed the HTTP classes to indicate they're for server. (diff) | |
download | cuberite-b92346e3cc517fe2d9f01720110e51cf3ea22c44.tar cuberite-b92346e3cc517fe2d9f01720110e51cf3ea22c44.tar.gz cuberite-b92346e3cc517fe2d9f01720110e51cf3ea22c44.tar.bz2 cuberite-b92346e3cc517fe2d9f01720110e51cf3ea22c44.tar.lz cuberite-b92346e3cc517fe2d9f01720110e51cf3ea22c44.tar.xz cuberite-b92346e3cc517fe2d9f01720110e51cf3ea22c44.tar.zst cuberite-b92346e3cc517fe2d9f01720110e51cf3ea22c44.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WebAdmin.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/WebAdmin.h b/src/WebAdmin.h index e5f8fc615..70d772f1e 100644 --- a/src/WebAdmin.h +++ b/src/WebAdmin.h @@ -190,7 +190,7 @@ protected: cHTTPFormParser m_Form; - cWebadminRequestData(cHTTPRequest & a_Request) : + cWebadminRequestData(cHTTPRequestParser & a_Request) : m_Form(a_Request, *this) { } @@ -236,18 +236,18 @@ protected: cHTTPServer m_HTTPServer; /** Handles requests coming to the "/webadmin" or "/~webadmin" URLs */ - void HandleWebadminRequest(cHTTPServerConnection & a_Connection, cHTTPRequest & a_Request); + void HandleWebadminRequest(cHTTPServerConnection & a_Connection, cHTTPRequestParser & a_Request); /** Handles requests for the root page */ - void HandleRootRequest(cHTTPServerConnection & a_Connection, cHTTPRequest & a_Request); + void HandleRootRequest(cHTTPServerConnection & a_Connection, cHTTPRequestParser & a_Request); /** Handles requests for a file */ - void HandleFileRequest(cHTTPServerConnection & a_Connection, cHTTPRequest & a_Request); + void HandleFileRequest(cHTTPServerConnection & a_Connection, cHTTPRequestParser & a_Request); // cHTTPServer::cCallbacks overrides: - virtual void OnRequestBegun (cHTTPServerConnection & a_Connection, cHTTPRequest & a_Request) override; - virtual void OnRequestBody (cHTTPServerConnection & a_Connection, cHTTPRequest & a_Request, const char * a_Data, size_t a_Size) override; - virtual void OnRequestFinished(cHTTPServerConnection & a_Connection, cHTTPRequest & a_Request) override; + virtual void OnRequestBegun (cHTTPServerConnection & a_Connection, cHTTPRequestParser & a_Request) override; + virtual void OnRequestBody (cHTTPServerConnection & a_Connection, cHTTPRequestParser & a_Request, const char * a_Data, size_t a_Size) override; + virtual void OnRequestFinished(cHTTPServerConnection & a_Connection, cHTTPRequestParser & a_Request) override; } ; // tolua_export |