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

how can i set the direction of the websocket in the controller? #98

Open piux opened 8 years ago

piux commented 8 years ago

all the examples i see the direction of the websocket is set already by default, i want to change it directly in the controller any time i need it.

piux commented 8 years ago

is there a way to close the websocket, add a new url and then connect?