Damien Arrachequesne c597023169 fix: handle ill-formatted packet from server
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
2022-09-02 23:28:35 +01:00
2022-05-17 23:34:19 +02:00
2021-01-08 15:13:43 +01:00
2020-10-13 23:35:22 +02:00
2022-05-17 23:34:19 +02:00
2014-07-25 08:02:12 -06:00
2022-06-26 08:19:46 +02:00
2022-06-26 08:19:46 +02:00

socket.io-client

Build Status NPM version Downloads

Sauce Test Status

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

MIT

Description
No description provided
Readme MIT 43 MiB
Languages
TypeScript 63.8%
JavaScript 36%