diff options
Diffstat (limited to 'sw-client/src/commonMain/kotlin/org')
-rw-r--r-- | sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt | 4 |
1 files changed, 2 insertions, 2 deletions
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 e0c336ce..7b4aa716 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 @@ -16,7 +16,7 @@ import org.hildan.krossbow.stomp.conversions.kxserialization.subscribe import org.hildan.krossbow.stomp.conversions.kxserialization.json.withJsonConversions import org.hildan.krossbow.stomp.sendEmptyMsg import org.hildan.krossbow.websocket.WebSocketClient -import org.hildan.krossbow.websocket.default +import org.hildan.krossbow.websocket.builtin.* import org.luxons.sevenwonders.model.PlayerMove import org.luxons.sevenwonders.model.Settings import org.luxons.sevenwonders.model.api.* @@ -29,7 +29,7 @@ import kotlin.time.Duration.Companion.seconds class SevenWondersClient { - private val stompClient = StompClient(WebSocketClient.default()) { + private val stompClient = StompClient(WebSocketClient.builtIn()) { heartBeat = HeartBeat(10.seconds, 10.seconds) heartBeatTolerance = HeartBeatTolerance(Duration.ZERO, 10.seconds) // wide margin to account for heroku cold start } |