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:
- 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 +