Quantcast
Channel: CNode:Node.js专业中文社区
Viewing all articles
Browse latest Browse all 14821

socket.io对比服务器端io.sockets.server保留差异化的内容

$
0
0

对比一个链接和两个链接,返回值在黑窗口。。。复制到text 多一个链接多一个object和数量+1 Server { sockets: Namespace { sockets: { Np4CUYyc2hzYxnL_AAAA: [Object] }, connected: { Np4CUYyc2hzYxnL_AAAA: [Object] }, }, eio: Server { clients: { Np4CUYyc2hzYxnL_AAAA: [Object] }, clientsCount: 1,

},
httpServer: Server {
	_connections: 1, 
},
engine: Server {
	clients: {
		Np4CUYyc2hzYxnL_AAAA: [Object]
	}, 
	clientsCount: 1, 
}

}


Viewing all articles
Browse latest Browse all 14821

Trending Articles