Skip to content

PantherPy/echo_websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Example of echo message in websocket

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages