summaryrefslogtreecommitdiff
path: root/sw-client/src/commonMain/kotlin/org
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@gmail.com>2022-11-06 02:55:42 +0100
committerJoffrey Bion <joffrey.bion@gmail.com>2022-11-06 03:16:29 +0100
commitfd39e25502c679e1276107944dbf85519474eb4c (patch)
treeae06652db24d76b8ac6e680fe42cf433c4fee324 /sw-client/src/commonMain/kotlin/org
parentUpgrade Kotlin to 1.7.20 (diff)
downloadseven-wonders-fd39e25502c679e1276107944dbf85519474eb4c.tar.gz
seven-wonders-fd39e25502c679e1276107944dbf85519474eb4c.tar.bz2
seven-wonders-fd39e25502c679e1276107944dbf85519474eb4c.zip
Upgrade Krossbow to 4.4.0
Diffstat (limited to 'sw-client/src/commonMain/kotlin/org')
-rw-r--r--sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt4
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
}
bgstack15