This commit is contained in:
dalbodeule
2024-08-15 19:48:31 +09:00
parent c4db370c91
commit 1bea333d9d
3 changed files with 0 additions and 3 deletions

View File

@@ -72,7 +72,6 @@ fun Routing.wsSongListRoutes() {
is Frame.Text -> {
if(frame.readText() == "ping") {
send("pong")
return@webSocket
}
val data = frame.readText().let { Json.decodeFromString<SongRequest>(it) }

View File

@@ -65,7 +65,6 @@ fun Routing.wsSongRoutes() {
is Frame.Text -> {
if(frame.readText() == "ping") {
send("pong")
return@webSocket
}
}
is Frame.Ping -> send(Frame.Pong(frame.data))

View File

@@ -65,7 +65,6 @@ fun Routing.wsTimerRoutes() {
is Frame.Text -> {
if(frame.readText() == "ping") {
send("pong")
return@webSocket
}
}
is Frame.Ping -> send(Frame.Pong(frame.data))