Files
socket.io/examples/connection-state-recovery-example

Example with connection state recovery

This example shows how to use the Connection state recovery feature.

Video of the example

How to use

# choose your module syntax (either ES modules or CommonJS)
$ cd esm/

# install the dependencies
$ npm i

# start the server
$ node index.js

And point your browser to http://localhost:3000.

You can also run this example directly in your browser on: