rstudio/websocket

add examples how to disconnect on error

jangorecki opened this issue · 0 comments

If I would know how to close websocket connection when I encounter an error in my onMessage event handler. Possibly I could try get ws from parent.frame, but it feels very hacky, so prefer to use recommended way, what that would be then?