onSocketClose

open fun onSocketClose(code: Int, reason: String)

Emitted when the websocket connection is closed