HttpServer Library for "mbed-os" which added a snapshot handler.

Dependents:   GR-PEACH-webcam GR-Boards_WebCamera GR-Boards_WebCamera GR-Boards_WebCamera

Fork of HttpServer_snapshot by Renesas

Revision:
11:0700755d64ae
Parent:
6:d9e6379eefac
Child:
13:d3571c244759
diff -r 4ab2f287d06d -r 0700755d64ae HTTPRequestHandler.h
--- a/HTTPRequestHandler.h	Tue Apr 19 02:21:29 2016 +0000
+++ b/HTTPRequestHandler.h	Fri Oct 28 06:15:29 2016 +0000
@@ -28,12 +28,7 @@
 #ifndef HTTP_REQUEST_HANDLER_H
 #define HTTP_REQUEST_HANDLER_H
 
-//*#include "api/TCPSocket.h"
-//#include "HTTPServer.h"
-
 #include "mbed.h"
-#include "EthernetInterface.h"
-//*#include "core/netservice.h"
 
 #include <string>
 using std::string;
@@ -46,7 +41,7 @@
 {
 public:
   ///Instantiated by the HTTP Server
- HTTPRequestHandler(const char* rootPath, const char* path, TCPSocketConnection* pTCPSocketConnection);
+ HTTPRequestHandler(const char* rootPath, const char* path, TCPSocket* pTCPSocket);
   virtual ~HTTPRequestHandler();
 
 //protected:
@@ -82,7 +77,7 @@
   void writeHeaders(); //Called at the first writeData call
   //**void onTCPSocketEvent(/**TCPSocketEvent e**/);
    
-  TCPSocketConnection* m_pTCPSocketConnection;
+  TCPSocket* m_pTCPSocket;
   map<string, string> m_reqHeaders;
   map<string, string> m_respHeaders;
   string m_rootPath;
@@ -104,3 +99,5 @@
 };
 
 #endif
+
+