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.
Dependencies: EthernetInterface HTTPServerExample mbed-rpc mbed-rtos mbed
Fork of EthHTTPServer by
Revision 7:a6e27f5a8d74, committed 2013-12-06
- Comitter:
- sammacjunkie
- Date:
- Fri Dec 06 18:29:25 2013 +0000
- Parent:
- 6:fde802d0f163
- Commit message:
- updated RPC command
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Dec 06 18:20:02 2013 +0000
+++ b/main.cpp Fri Dec 06 18:29:25 2013 +0000
@@ -27,7 +27,7 @@
HTTPFsRequestHandler::mount("/local/", "/"); // Mount /local/ filesystem as root web path /
svr.addHandler<HTTPFsRequestHandler>("/"); // Serve all default HTTP requests
- svr.addHandler<HTTPRpcRequestHandler>("/RPC"); // Serve all RPC requests
+ svr.addHandler<HTTPRpcRequestHandler>("/rpc"); // Serve all RPC requests
// Initialize the EthernetInterface and initiate a connection using default DHCP.
