okhttp / okhttp3 / WebSocketListener / onClosing

onClosing

open fun onClosing(webSocket: WebSocket, code: Int, reason: String): Unit

Invoked when the remote peer has indicated that no more incoming messages will be transmitted.