updated RPC command to match javascripting language
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 |
diff -r fde802d0f163 -r a6e27f5a8d74 main.cpp --- 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.