aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-server-ktor/src/main/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'kvision-modules/kvision-server-ktor/src/main/kotlin')
-rw-r--r--kvision-modules/kvision-server-ktor/src/main/kotlin/pl/treksoft/kvision/remote/KVModules.kt6
1 files changed, 0 insertions, 6 deletions
diff --git a/kvision-modules/kvision-server-ktor/src/main/kotlin/pl/treksoft/kvision/remote/KVModules.kt b/kvision-modules/kvision-server-ktor/src/main/kotlin/pl/treksoft/kvision/remote/KVModules.kt
index 34fff02d..11959ea0 100644
--- a/kvision-modules/kvision-server-ktor/src/main/kotlin/pl/treksoft/kvision/remote/KVModules.kt
+++ b/kvision-modules/kvision-server-ktor/src/main/kotlin/pl/treksoft/kvision/remote/KVModules.kt
@@ -38,7 +38,6 @@ import io.ktor.http.content.static
import io.ktor.jackson.jackson
import io.ktor.routing.routing
import io.ktor.util.AttributeKey
-import io.ktor.util.KtorExperimentalAPI
import io.ktor.websocket.WebSocketServerSession
import io.ktor.websocket.WebSockets
import kotlinx.coroutines.channels.ReceiveChannel
@@ -127,11 +126,6 @@ class DummyWebSocketServerSession : WebSocketServerSession {
override val outgoing: SendChannel<Frame>
get() = throw UnsupportedOperationException()
- @UseExperimental(KtorExperimentalAPI::class)
- override suspend fun close(cause: Throwable?) {
- throw UnsupportedOperationException()
- }
-
override suspend fun flush() {
throw UnsupportedOperationException()
}