Monday, 26 October 2020

Where is io.sockets.adapter.rooms in io of nodejs?

https://stackoverflow.com/a/6727354/462608

The short answer:
io.sockets.adapter.rooms

I analysed io:

The sockets output part from io as shown in that answer contains the following:

sockets: 
   { manager: [Circular],
     name: '',
     sockets: { '210837319844898486': [Object] },
     auth: false,
     flags: { endpoint: '', exceptions: [] },
     _events: { connection: [Function] } },

Where is the adapter? Where are the rooms?

What is the way to find out adapter and rooms from the output of io?



from Where is io.sockets.adapter.rooms in io of nodejs?

No comments:

Post a Comment