flask-socketioEasy Playground

WebSocket support for Flask via Socket.IO

Getting started with flask-socketioRun locally
Install
pip install flask-socketio
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: flask_socketio)

flask-socketio is a third-party package. WebSocket support for Flask via Socket.IO. Install with: pip install flask-socketio

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?