Skip to content

Glossary: Real-Time Apps with WebSockets

Handshake

Also written: socket.handshake, auth

The first exchange when a client connects. In Socket.IO the client can send data such as a name or token in the handshake's `auth` object, and the server reads it as `socket.handshake.auth`.

Where the book teaches it

Related terms

Middleware