onFailure

open override fun onFailure(webSocket: WebSocket, t: Throwable, response: Response?)

onFailure is called when WebSocket protocol error occurs.

Sources

jvm source
Link copied to clipboard