PatrickJS / angular-websocket

:arrow_upper_left: The missing Angular WebSocket module for connecting client applications to servers by @AngularClass
https://angularclass.github.io/angular-websocket
MIT License
1.22k stars 194 forks source link

Set cookie before connection #109

Open brenthmiras opened 7 years ago

brenthmiras commented 7 years ago

How do we set the cookie sent with connection request?

degaray commented 7 years ago

@brenthmiras how did you solve it?

marekjasinski commented 7 years ago

Hi guys,

@brenthmiras , @degaray any updates? Have you succeeded?

theodesp commented 7 years ago

You cannot do that as the WebSocket Protocol does not support setting headers. Maybe you can pass parameters in the url.