update WebSocketClient

This commit is contained in:
tursom 2021-07-05 17:31:04 +08:00
parent 0e44169327
commit 1cbc2a0c12

View File

@ -195,10 +195,10 @@ open class WebSocketClient<in T : WebSocketClient<T, H>, H : WebSocketHandler<T,
return ch!!.writeAndFlush(PongWebSocketFrame(data))
}
fun onOpen() {
open fun onOpen() {
}
fun onClose() {
open fun onClose() {
}
companion object {