A simple web server that can be bound to either the EthernetInterface or the WiflyInterface.
Dependents: Smart-WiFly-WebServer WattEye X10Svr SSDP_Server
Diff: SW_HTTPServer.h
- Revision:
- 10:9c8d2c6a3469
- Parent:
- 9:2ea342765c9d
- Child:
- 12:109bf1558300
--- a/SW_HTTPServer.h Thu Jul 04 01:58:13 2013 +0000 +++ b/SW_HTTPServer.h Sat Jul 27 23:47:31 2013 +0000 @@ -206,8 +206,8 @@ * @param allocforfile is the memory allocation to support sending a file to the client. This is typically sized to fit * an ethernet frame. */ - HTTPServer(Wifly * wifly, int port = 80, const char * webroot = "/", int maxparams = 30, int maxdynamicpages = 10, PC * pc = NULL, - int _allocforheader = MAX_HEADER_SIZE, int _allocforfile = FILESEND_BUF_SIZE); + HTTPServer(Wifly * wifly, int port = 80, const char * webroot = "/", int maxparams = 30, int maxdynamicpages = 10, + PC * pc = NULL, int _allocforheader = MAX_HEADER_SIZE, int _allocforfile = FILESEND_BUF_SIZE); /** * Destructor, which can clean up memory. @@ -494,7 +494,7 @@ char * headerbuffer; int headerbuffersize; - Timer timer; // for performance metrics gathering + Timer PerformanceTimer; /** * Records performance data *