A simple web server that can be bound to either the EthernetInterface or the WiflyInterface.

Dependents:   Smart-WiFly-WebServer WattEye X10Svr SSDP_Server

Files at this revision

API Documentation at this revision

Comitter:
WiredHome
Date:
Fri May 31 03:46:58 2013 +0000
Parent:
0:729320f63c5c
Child:
2:a29c32190037
Commit message:
Updated the documentation

Changed in this revision

SW_HTTPServer.h Show annotated file Show diff for this revision Revisions of this file
--- a/SW_HTTPServer.h	Fri May 31 03:13:39 2013 +0000
+++ b/SW_HTTPServer.h	Fri May 31 03:46:58 2013 +0000
@@ -1,4 +1,19 @@
-/// SW_HTTPServer is a simple web server using the WiFly module.
+
+#ifndef SW_HTTPSERVER_H
+#define SW_HTTPSERVER_H
+#include "mbed.h"
+//#include "MODSERIAL.h"    // would like to hook in mod serial for higher performance, less blocking
+#include "Wifly.h"
+#include "TCPSocketServer.h"
+#include "TCPSocketConnection.h"
+
+#ifdef MODSERIAL_H
+#define PC MODSERIAL
+#else
+#define PC Serial
+#endif
+
+/// HTTPServer is a simple web server using the WiFly module.
 /// 
 /// Partially derived from nweb
 ///  http://www.ibm.com/developerworks/systems/library/es-nweb/sidefile1.html
@@ -37,21 +52,6 @@
 ///
 /// @author David Smart, Smartware Computing
 ///
-#ifndef SW_HTTPSERVER_H
-#define SW_HTTPSERVER_H
-#include "mbed.h"
-//#include "MODSERIAL.h"    // would like to hook in mod serial for higher performance, less blocking
-#include "Wifly.h"
-#include "TCPSocketServer.h"
-#include "TCPSocketConnection.h"
-
-#ifdef MODSERIAL_H
-#define PC MODSERIAL
-#else
-#define PC Serial
-#endif
-
-
 class HTTPServer
 {
 public: