-
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
Disconnect reasons missing from documentation #4387
Comments
Note: some disconnection reasons could be merged in the next major release, i.e. the Deno impl does not have "forced server close" and "server shutting down" Related: #4387
For future readers: The missing disconnection reasons were added in the documentation: https://socket.io/docs/v4/server-api/#event-disconnect And also directly in the source code: 10fa4a2 Thanks for the heads-up! 👍 |
@darrachequesne How I can get this error? I see it randomly, without any good explanation.. I can dig in the code, but it's not self-explained from the docs :) Let me also know if you need to me update something regarding it. |
Note: some disconnection reasons could be merged in the next major release, i.e. the Deno impl does not have "forced server close" and "server shutting down" Related: socketio#4387
There are a few possible server disconnection reasons that aren't in the documentation. I have come across
forced close
andforced server close
, and there are possibly more. It looks likeforced close
is also possible on the client side, and it isn't in the client documentation either.It would be great if these missing client and server disconnection reasons could be added to the documentation to make it easier to determine what they mean. Thank you.
The text was updated successfully, but these errors were encountered: