mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
ccf7998cc5049d02022567aedfb263de875a06a5
Usage:
```js
socket.timeout(5000).emit("my-event", (err) => {
if (err) {
// the server did not acknowledge the event in the given delay
}
});
```
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%