Are tokens and handshakes necessary for WebSocket connections, and why are they not always mentioned in tutorials?

Tokens and handshakes are not necessary for WebSocket connections as they are primarily used for authentication and authorization in HTTP requests. WebSocket connections are established through an initial handshake request and response, but do not require tokens or handshakes for ongoing communication. Tutorials may not always mention tokens and handshakes for WebSocket connections because they are not essential for the functionality of the connection.

// No tokens or handshakes required for WebSocket connections