Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SW_HTTPServer by
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. *