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:
7:cb7fec1265b5
Parent:
5:dc88012caef1
Child:
12:ba81cc117fb6
diff -r fe661fa9d18a -r cb7fec1265b5 HTTPRequestHandler.h
--- a/HTTPRequestHandler.h	Sat Jun 01 16:49:17 2013 +0000
+++ b/HTTPRequestHandler.h	Sat Jun 01 17:47:45 2013 +0000
@@ -116,7 +116,7 @@
         * automatically added in \c startResponse. if you need to change the headers, please do NOT 
         * specify the \c Content-Length Header. This is done automatically be the function.
         */
-        void startResponse(int returnCode, int nLen, HTTPHeaders* header = NULL);
+        void startResponse(int returnCode, long nLen, HTTPHeaders* header = NULL);
         void processResponse(int nLen, char* body );
         void endResponse();