Flask server web socket

Job ID: 34793498

Budget: ₹600 – ₹1,500 INR

Task

Step 1: Setup a flask server which supports websockets.

Step 2: Write a client which obtains a websocket connection to this server and can ask for various things.

Step 3: Get at least 5 clients connected to the server.
The server should send a "Connected" message every 1-min to all the connected clients.

Client can ask for:
Current server timestamp.
Number of clients connected to the server.
Time since "this" client is connected to the server.
Feel free to design it however you want. Assume relevant details.
Please prepare a working code for this. We will be judging this through a demo call once you submit your task.
Related categories: Python Flask