Skip to content

Glossary: Real-Time Apps with WebSockets

Disconnect reason

Also written: io server disconnect, io client disconnect, transport close, ping timeout

The first argument of the `"disconnect"` handler, saying why the connection closed. Socket.IO retries after `"transport close"` and `"ping timeout"`, but not after `"io client disconnect"` or `"io server disconnect"`.

Where the book teaches it

Related terms

Exponential backoffSocket.IO