- Clone Project
- Install Requirements
- Run Project
- Connect With Websocket to
/ws
, It is going to create new user on any connect - It is going to echo client messages
- Call
send/<user_id>
API to send custom message to specific user withuser_id
API
curl http://127.0.0.1:8000/send/1/ -X POST -H "content-type:application/json" --data "{\"message\":\"Hello From API\"}"