HTTP Server library for Mbed OS-5. A fork of Henry Leinen's [[https://os.mbed.com/users/leihen/code/HTTPServer/]] library.

Dependents:   STM32F407VET6_HTTPServer

Revision:
17:8bcc62289a07
Parent:
13:aa5338a5e452
--- a/HTTPConnection.h	Sat Aug 17 16:17:55 2013 +0000
+++ b/HTTPConnection.h	Sun Oct 06 18:10:41 2019 +0000
@@ -24,7 +24,7 @@
 #define __HTTPConnection_H__
 
 #include "mbed.h"
-#include "TCPSocketConnection.h"
+#include "TCPSocket.h"
 
 #include <string>
 #include <map>
@@ -70,12 +70,17 @@
             /** Map of arguments that came with the uri string
             */
             std::map<std::string, std::string>      args;
+            
+            //attribute data
+            char                                    attri[50];
+            //attribute length
+            uint32_t                                attri_len;
         } HTTPMessage;
         
         /** Public constructor for HTTPConnection objects.
          *
          */
-        HTTPConnection (TCPSocketConnection& clnt);
+        HTTPConnection(TCPSocket* clnt);
         
         /** Destructor for HTTPConnection objects.
         *
@@ -100,7 +105,7 @@
 
         friend class HTTPServer;
                         
-        TCPSocketConnection m_Tcp;
+        TCPSocket*  m_Tcp;
         HTTPMessage m_Msg;
 
         /** parse a HTTP request line from the content of the buffer. 
@@ -135,4 +140,4 @@
 
 };
 
-#endif // __HTTPConnection_H__
\ No newline at end of file
+#endif // __HTTPConnection_H__