MDWamp
MDWamp copied to clipboard
Not possible to set cookies on socket prior to socket open
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.