Socket.io: Overwritten generateId() gets executed, but the returned id seems to be ignored

后端 未结 0 1820
天命终不由人
天命终不由人 2020-12-28 07:56

I am trying to overwrite generateId. I used for that the example from the docs. But the behaviour is strange. generateId gets executed, but socket.id

相关标签:
回答
  • 消灭零回复
提交回复
热议问题