最終更新:2022-09-12 (月) 17:36:25 (593d)
ws
Top / ws
https://github.com/websockets/ws
ドキュメント
サーバ
- wss
クライアント
- wsに属性とか勝手に足せる (idとかroomとか)
- https://stackoverflow.com/questions/13364243/websocketserver-node-js-how-to-differentiate-clients
メモ
- WebSocketの接続先にクエリをつけてconnectionのreqとして受け取ることもできる
https://myhost:8080?myCustomParam=1111&myCustomID=2222
- https://stackoverflow.com/questions/13364243/websocketserver-node-js-how-to-differentiate-clients