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

Dependents:   Smart-WiFly-WebServer WattEye X10Svr SSDP_Server

Revision:
7:99ad7a67f05e
Parent:
6:fdce4464d92b
Child:
8:262583f054f6
--- a/SW_HTTPServer.h	Tue Jun 25 18:11:10 2013 +0000
+++ b/SW_HTTPServer.h	Thu Jun 27 17:08:25 2013 +0000
@@ -71,7 +71,7 @@
 /// @li Provides a registration interface for dynamically generated pages that
 ///     can then interact with other hardware.
 /// @li Revised to be Non-blocking, however the execution time is variable
-///     depending on the actions being performed.
+///     depending on the actions being performed and can span hundreds of msec.
 ///
 /// Limitations:
 /// @li Supports only a single connection at a time.
@@ -406,8 +406,10 @@
     * This switches the module into command mode, performs the close,
     * then switches it back to data mode. So, this is a time-expensive
     * command.
+    *
+    * @returns true if successful
     */
-    void close_connection();
+    bool close_connection();
     
     /**
     * Get the size of the largest header. 
@@ -542,3 +544,4 @@
 };
 #endif //SW_HTTPSERVER_H
 
+