aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-server-ktor/src/main
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2020-02-01 01:58:25 +0100
committerRobert Jaros <rjaros@finn.pl>2020-02-01 01:58:25 +0100
commit268b6f28ccdd8ea247496b0ac889aec05badd9b6 (patch)
tree8ea65fa052529944e01acb947c21253721db7eeb /kvision-modules/kvision-server-ktor/src/main
parentaa22ebc3b9c34879687047a28d22c4487c6ac380 (diff)
downloadkvision-268b6f28ccdd8ea247496b0ac889aec05badd9b6.tar.gz
kvision-268b6f28ccdd8ea247496b0ac889aec05badd9b6.tar.bz2
kvision-268b6f28ccdd8ea247496b0ac889aec05badd9b6.zip
Dependencies upgrade (Ktor 1.3.0, Spring Boot 2.2.4 and others)
Diffstat (limited to 'kvision-modules/kvision-server-ktor/src/main')
-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()
}