mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
c5970231699aa47b00c4a617af4239d0fa90fa53
The decoder can throw an error when trying to decode an invalid payload sent by the server, so the manager will now catch it, close the connection and then reconnect instead of crashing. Related: - https://github.com/socketio/socket.io/issues/4392 - https://github.com/socketio/socket.io-client/issues/1551
socket.io-client
Documentation
Please see the documentation here.
The source code of the website can be found here. Contributions are welcome!
Debug / logging
In order to see all the client debug output, run the following command on the browser console – including the desired scope – and reload your app page:
localStorage.debug = '*';
And then, filter by the scopes you're interested in. See also: https://socket.io/docs/v4/logging-and-debugging/
License
Languages
TypeScript
63.8%
JavaScript
36%