Adaptation of the HttpServer by user yueee_yt. This version has improved handling of the HTTP headers (**NOTE**: There are limitations with this implementation and it is not fully functional. Use it only as a starting point.)
Dependents: DMSupport DMSupport DMSupport DMSupport
Fork of DM_HttpServer by
Diff: Handler/SimpleHandler.cpp
- Revision:
- 10:c1c8276af541
- Parent:
- 6:7b3320c34654
--- a/Handler/SimpleHandler.cpp Mon Jan 26 10:10:46 2015 +0100 +++ b/Handler/SimpleHandler.cpp Wed Oct 23 06:58:32 2019 +0000 @@ -24,7 +24,7 @@ #include "SimpleHandler.h" #include "DMBoard.h" -SimpleHandler::SimpleHandler(const char* rootPath, const char* path, TCPSocketConnection* pTCPSocketConnection) : HTTPRequestHandler(rootPath, path, pTCPSocketConnection) +SimpleHandler::SimpleHandler(const char* rootPath, const char* path, TCPSocket* pTCPSocketConnection) : HTTPRequestHandler(rootPath, path, pTCPSocketConnection) { #ifdef _DEBUG_SIMPLE_HANDLER DMBoard::instance().logger()->printf("++++(SimpleHeader)Initialize\r\n");