We use the go-socket.io package to run a socket server and we need to authenticate users with handshake query data.
In node.js we used code like:
authDataString = socket.handshake.query.authData;
and we need to do something similar in Go.
We use the go-socket.io package to run a socket server and we need to authenticate users with handshake query data.
In node.js we used code like:
authDataString = socket.handshake.query.authData;
and we need to do something similar in Go.