PatrickJS/angular-websocket

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

piux opened this issue · 1 comments

piux commented

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

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