aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/__init__.py
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-04 23:49:32 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-04 23:49:32 +0800
commit88c549ebf97807fa9487db88974df6eb48aa6edd (patch)
tree190690e3bf07dccb231092bb87f609c30979ebf1 /fg21sim/webui/__init__.py
parent939e92de6241906bdfd39b51552079855af2eaf5 (diff)
downloadfg21sim-88c549ebf97807fa9487db88974df6eb48aa6edd.tar.bz2
webui: websocket.py: Make the response message more consistent
All response message has a "success" item indicating whether the request be successfully handled. If anything unexpected happens, "success" is False, and an additional "error" item presents recording the detail. Also add some more stubs which are necessary for the Web UI.
Diffstat (limited to 'fg21sim/webui/__init__.py')
0 files changed, 0 insertions, 0 deletions