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:
- 24:062431453abb
- Parent:
- 21:660143f20b04
- Child:
- 27:90a1f5a5392f
--- a/SW_HTTPServer.h Thu Sep 26 23:47:50 2013 +0000 +++ b/SW_HTTPServer.h Thu Oct 10 18:29:12 2013 +0000 @@ -231,6 +231,15 @@ ~HTTPServer(); /** + * Get the webroot. + * + * @returns pointer to the webroot. + */ + const char * GetWebRoot() { + return webroot; + } + + /** * The process to call whenever there is free time, as this basically does * all the work to monitor for connections and handle replies. *