A simple practice of multi-clients management in ratchet websocket server
- Passing customized userId to server via URL
- Send to spcific user by userId
- Limit one connection per user
- Kick out notification
Original Project: https://github.com/ratchetphp/Ratchet
See example/Myapp/Chat.php for implementation