Is there any way to get a list of all the namespaces registered on the socket?
For example, suppose some client connects to a namespace: `socket = io('/some-nsp');
They are now in a namespace automagically because the socket.io does not prevent creating random namespaces.
If I want to go through the list of all existing namespaces and disconnect those users, how could I get such a list.
I've tried io.nsps
, but this just is a circular list of junk.
Is there an "official" way to get a list of all the namespaces registered on the socket? I don't want a list of clients. I just want a list of namespaces.