I'm wondering what the main function of authorization and the handshake in Socket.IO is. I've already read their wiki and authorizing guide on GitHub but I still don't understand the following:
- How does the authorization work in Socket.io?
- What is the handshake in Socket.IO?
- Can I add anything to the
handshakeData
object?
I hope you can answer my question. Thanks.