MDWamp icon indicating copy to clipboard operation
MDWamp copied to clipboard

Not possible to set cookies on socket prior to socket open

Open mreynolds0404 opened this issue 9 years ago • 0 comments

In MDWampTransportWebSocket, setRequestCookies sets the cookies directly onto the socket, which is nil unless open has been called as part of connection. Unfortunately, this prevents the cookies from being in place before connecting to the wamp router, which is when you would need them. Suggestion would be to set cookies into a local var of MDWampTransportWebSocket and then add the cookies to the socket in the open method.

mreynolds0404 avatar Nov 04 '16 14:11 mreynolds0404