socketio / socket.io-adapter

The Socket.IO in-memory adapter

Home Page:https://socket.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rooms and sids are protected

ejose19 opened this issue · comments

Refers to socketio/socket.io#3697

Is there any particular reason you made those protected? If it's to not allow modifications from the outside, shouldn't we provide getRooms and getSids to act as getters? I can work on a PR if this is the approved solution.

Let's make them public then: 313c5a9

Included in socket.io-adapter@2.1.0 & socket.io@3.1.0.