WebSocket close reason

Monkey Forums/Monkey Programming/WebSocket close reason

Hezkore(Posted 2016) [#1]
I'm using the DOM WebSocket module and everything is working fine, but does anyone know how to get the "Close reason", as in the reason the connection was closed.