interface Client
onDisconnect |
abstract fun onDisconnect(code: Int, reason: String?): Unit |
onMessage |
abstract fun onMessage(message: String): Unit abstract fun onMessage(data: ByteArray): Unit |
onPong |
abstract fun onPong(message: String): Unit |
sendFrame |
abstract fun sendFrame(frame: ByteArray?): Unit |