From 61bcba7b0a3fe28fb523455d46eab1bd212c1d04 Mon Sep 17 00:00:00 2001 From: joffrey-bion Date: Mon, 1 Feb 2021 00:34:15 +0100 Subject: Upgrade Krossbow to 1.1.5 --- .../kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt | 2 -- 1 file changed, 2 deletions(-) (limited to 'sw-client/src/commonMain/kotlin/org') diff --git a/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt b/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt index 5e627ecd..68026888 100644 --- a/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt +++ b/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt @@ -3,7 +3,6 @@ package org.luxons.sevenwonders.client import kotlinx.coroutines.flow.Flow import kotlinx.coroutines.flow.first import kotlinx.coroutines.flow.map -import kotlinx.serialization.ExperimentalSerializationApi import kotlinx.serialization.builtins.serializer import org.hildan.krossbow.stomp.StompClient import org.hildan.krossbow.stomp.config.HeartBeat @@ -29,7 +28,6 @@ class SevenWondersClient { heartBeatTolerance = HeartBeatTolerance(0, 10000) // wide margin to account for heroku cold start } - @OptIn(ExperimentalSerializationApi::class) suspend fun connect(serverUrl: String): SevenWondersSession { val session = stompClient.connect("$serverUrl$SEVEN_WONDERS_WS_ENDPOINT").withJsonConversions() return SevenWondersSession(session) -- cgit