-
Notifications
You must be signed in to change notification settings - Fork 352
Closed
Description
It would be beneficial to be able to send a cookie in the headers of the initial XHR handshake. This would allow persisting of user sessions between socket connections for integration tests of user-driven socket.io applications. I had this working in my own, modified version of socket.io-client and submitted a pull request to socket.io-client [1]. It appears that these changes will need to be made to engine.io-client now.
See related issues from socket.io-client repo:
socketio/socket.io-client#587
socketio/socket.io-client#439
[1] https://github.com/chill117/socket.io-client/commit/14a99041521f5c03ccf7ee3a71c3b56a3131c9ab
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels