angular-websocket icon indicating copy to clipboard operation
angular-websocket copied to clipboard

Reconnect issue

Open myo-ko opened this issue 8 years ago • 1 comments

I have referenced the example in the docs. How can I manually reconnect the web socket from my controller while modifying the query string value of the web socket?

myo-ko avatar May 26 '16 04:05 myo-ko

as far as i can see, you need to recreate a new socket if you want to change the url. if you just want to reconnect, there is a reconnect() function

luc-pitipuis avatar Jul 12 '16 05:07 luc-pitipuis