How can you get a list of all clients in a room when using Socket.io 2.0?
There are a lot of related questions, but none are for version 2.0 or answer this question. The closest answer is for 2.0, but only explains how to get a list of clients when using Redis, which is not a requirement for using socket.io.
io.sockets.adapter.roomswhich simply returns a list of room objects with a user count, not a specific list of users (ie the socket IDs socket.io generates).