Single instance HTTP Server using WiFly Interface.

Dependents:   WiFlyHTTPServerSample MultiThreadingHTTPServer

This is my implementation for a HTTP Server using the WiFly Interface. Please note that this is still under development.

It may still contain several bugs. I have tested it using a 1768 on an application board plus RN-XV board.

Currently there is only a FileSystem implemented. Also it is limited to GET request.

I try to extend it further so it will be more useful.

Btw, it does NOT work with RTOS, which seems not to be the Problem of my library.

Do not Forget to Import the WiFly Interface into your Project when using this library.

Change History:

REV5: - added support for basic RPC GET request functionality.

REV4: - added argument parsing from the request uri. - documentation extended and updated.

Revision:
13:93ff322420b0
Parent:
5:dc88012caef1
--- a/Handler/RpcHandler.h	Wed Jun 05 23:39:24 2013 +0000
+++ b/Handler/RpcHandler.h	Wed Jun 26 21:12:42 2013 +0000
@@ -39,7 +39,7 @@
         * @param Msg : Message request information that comes with the request.
         * @param Tcp : The socket connection for communicating with the client.
         */
-        HTTPRpcRequestHandler(const char* rootPath, const char* localPath, HTTPConnection::HTTPMessage& Msg, TCPSocketConnection& Tcp);
+        HTTPRpcRequestHandler(const char* rootPath, const char* localPath, HTTPConnection::HTTPMessage& Msg);
         
         /** Destructor 
         */
@@ -47,7 +47,7 @@
   
         /** static creation function for this object.
         */
-        static inline HTTPRequestHandler* create(const char* rootPath, const char* localPath, HTTPConnection::HTTPMessage& msg, TCPSocketConnection& tcp) { return new HTTPRpcRequestHandler(rootPath, localPath, msg, tcp); }
+        static inline HTTPRequestHandler* create(const char* rootPath, const char* localPath, HTTPConnection::HTTPMessage& msg) { return new HTTPRpcRequestHandler(rootPath, localPath, msg); }
               
         /** Handler function to serve GET requests
         */