Disconnect reasons missing from documentation
There are a few possible server disconnection reasons that aren't in the documentation. I have come across forced close and forced server close, and there are possibly more. It looks like forced 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.
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: https://github.com/socketio/socket.io/commit/10fa4a2690fafcf9415e49aad507394e0b9a9ab0
Thanks for the heads-up! :+1: