socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

Version diff warning

Open ReArno opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe. Last time I had a problem. When I start developing a service, which uses the socket io on the client and on the server-side. The problem was when the server and the client were on a different package version after an update in the package.json. And after this, the client doesn't connect to the server, and in this case, we don't have an error.

Describe the solution you'd like I would like a more clear error, for example in the handshake request, the server can validate the client socket version, and can throw an error if the difference is too big.

ReArno avatar Aug 09 '21 09:08 ReArno