-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better public .connected property #41
Comments
.connected renamed to ._open, and adopted proper |
This was referenced Jan 8, 2021
This was referenced Oct 28, 2021
darrachequesne
added a commit
that referenced
this issue
Jul 4, 2024
darrachequesne
added a commit
that referenced
this issue
Jul 8, 2024
That method returns the list of rooms a given socket has joined. It is intended to be used by other adapters, without them needing to access the innards of the adapter.
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now .connected doesn't indicate if the connection is considered disconnected, but rather if there's an open request for a client. If the client is in a a long-polling disconnection,
.connected
will be false even though the "socket" is still considered connected.finalized
should be removed,connected
should be namedopen
or similar (or maybe use a readyState property with number codes), and an actualconnected
with the expected behavior should be introduced.The text was updated successfully, but these errors were encountered: