core rest - added routes to parse throughput from /proc/net/dev and broadcast out over websocket
This commit is contained in:
parent
9b1bc3e444
commit
4c260c288e
4 changed files with 100 additions and 2 deletions
|
@ -19,7 +19,7 @@ def register(app):
|
|||
logger.info("websocket client disconnected")
|
||||
|
||||
|
||||
def broadtcast_file(file_data):
|
||||
def broadcast_file(file_data):
|
||||
socketio.emit("file", {
|
||||
"message_type": file_data.message_type,
|
||||
"node": file_data.node,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue