diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-04 13:28:19 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-04 13:59:03 +0800 |
commit | 54b756d88b72eb07f4ee9fbb6b5f9d35ae1484a3 (patch) | |
tree | b4644a671743e8ba41c1920e5cee513cc946dc1c /bin | |
parent | dee4165ac47a8184ea8ae0876bd45364ba40affa (diff) | |
download | fg21sim-54b756d88b72eb07f4ee9fbb6b5f9d35ae1484a3.tar.bz2 |
webui: Update server & client sides WebSocket handlers
* Server side:
+ Update the "on_message()" method to support 3 types of message
requests (i.e., "configs", "console", and "results");
+ Add messages stub handlers: "_handle_{configs,console,results}()";
+ Reorder the methods
+ Client side:
+ Change timeout before reconnection to 3000 ms;
+ Parse the received JSON message to JS object;
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions