test disconnect

master
km0 3 years ago
parent b2cdceb801
commit f58c3bcf53

@ -7,6 +7,8 @@ from . import socketio
handle = ''
@socketio.on("connect bowl")
def add_bowl(id):
print(f'Client connected! ID: {id}')
@ -23,3 +25,8 @@ def add_bowl(id):
handle = id
print('Handle is connected!')
@socketio.on('disconnect')
def test_disconnect(socket):
print('Client disconnected', socket.id)
Loading…
Cancel
Save