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:
13:d3571c244759
Parent:
11:0700755d64ae
diff -r 95cc47e42b79 -r d3571c244759 HTTPRequestHandler.h
--- a/HTTPRequestHandler.h	Tue Jun 06 01:39:39 2017 +0000
+++ b/HTTPRequestHandler.h	Wed Jun 07 05:53:36 2017 +0000
@@ -62,15 +62,12 @@
   int dataLen() const;
   int readData(char* buf, int len);
   string& rootPath() /*const*/;
-  
+
   void setErrCode(int errc);
   void setContentLen(int len);
-  
+
   map<string, string>& respHeaders();
   int writeData(const char* buf, int len);
-  
-//* void setTimeout(int ms);
-//*  void resetTimeout();
 
 private:
   void readHeaders(); //Called at instanciation
@@ -83,13 +80,10 @@
   string m_rootPath;
   string m_path;
   int m_errc; //Response code
-  
-//*  Timeout m_watchdog;
-//*  int m_timeout;
-  
+
   bool m_closed;
   bool m_headersSent;
-  
+
   int readLine(char* str, int maxLen);
 
   char line[128];