最終更新:2020-07-16 (木) 14:44:21 (1379d)
Socket.IO/Namespace
https://socket.io/docs/server-api/#Namespace
メンバ
namespace.name? namespace.connected? The hash of Socket objects that are connected to this namespace, indexed by id. namespace.adapter? namespace.to? namespace.in? namespace.emit? namespace.clients?(callback) Gets a list of client IDs connected to this namespace (across all nodes if applicable). namespace.use?
取得
デフォルト(/)
特定のやつ
ソケットの取得
- namespace.connected?
Socket.IO/アダプタ
- namespace.adapter?