In socketio, I can easily get cookie with socket.handshake.headers.cookie. How could I do the same thing in ws?
socket.handshake.headers.cookie
ws
You can try this one: ws.upgradeReq.headers.cookie.
ws.upgradeReq.headers.cookie