angular-websocket
angular-websocket copied to clipboard
how can i set the direction of the websocket in the controller?
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.
is there a way to close the websocket, add a new url and then connect?