Does socket.io supports passing custom cookies with socket.io-client? #5329
Unanswered
hasitparmar-snyk
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need help with cookie handling between the socket.io-client and node.js server
Current Setup:
What I'm trying to achieve:
I need to access cookies that are set in the Socket.IO client during the WebSocket handshake on my proxy server side.
Socket.io client initialization
How to access this cookie in proxy server's upgrade event?
proxy.js
Let me know if you have any other suggestions for passing cookies from socket.io-client to server, I am open for ideas
Beta Was this translation helpful? Give feedback.
All reactions