update ktlint
This commit is contained in:
@@ -21,7 +21,8 @@ fun Application.configureSockets() {
|
||||
masking = false
|
||||
}
|
||||
routing {
|
||||
webSocket("/ws") { // websocketSession
|
||||
webSocket("/ws") {
|
||||
// websocketSession
|
||||
for (frame in incoming) {
|
||||
if (frame is Frame.Text) {
|
||||
val text = frame.readText()
|
||||
|
||||
Reference in New Issue
Block a user