1
運行我的NodeJS可以看到一種客戶端ID的:如何獲取NodeJS客戶端ID?
debug - emitting heartbeat for client hg5ZurBEi8R3Ehf5kuBJ
debug - websocket writing 2::
debug - set heartbeat timeout for client hg5ZurBEi8R3Ehf5kuBJ
debug - got heartbeat packet
debug - cleared heartbeat timeout for client hg5ZurBEi8R3Ehf5kuBJ
debug - set heartbeat interval for client hg5ZurBEi8R3Ehf5kuBJ
我使用socket.io。有一種方法可以獲得「hg5ZurBEi8R3Ehf5kuBJ」?一種app.session_id。
我覺得問題不是很清楚。你到底在找什麼? –