update versions

This commit is contained in:
2020-08-18 10:53:53 +06:00
parent 3ab7451b2e
commit fc8c0cfc73
33 changed files with 70 additions and 96 deletions

View File

@@ -28,7 +28,7 @@ class WebsocketsTest {
install(WebSockets)
routing {
includeWebsocketHandling(suburl, dataFlow) {
standardKtorSerialFormat.dump(Int.serializer(), it)
standardKtorSerialFormat.encodeToByteArray(Int.serializer(), it)
}
}
}.also {
@@ -44,7 +44,7 @@ class WebsocketsTest {
"$serverUrl/$suburl",
{ false } // always skip reconnection
) {
standardKtorSerialFormat.load(Int.serializer(), it)
standardKtorSerialFormat.decodeFromByteArray(Int.serializer(), it)
}
var currentlyCheckingData: Int? = null