4.1.4 服务器sockets server_sockets
(Namespace)命名空间
namespace的默认别名(/)
io.sockets.emit('hi',"everyone");
// 等价于
io.of('/').emit('hi',"everyone")Last updated
Was this helpful?
(Namespace)命名空间
namespace的默认别名(/)
io.sockets.emit('hi',"everyone");
// 等价于
io.of('/').emit('hi',"everyone")Last updated
Was this helpful?