diff --git a/ktor/client/src/commonMain/kotlin/dev/inmo/micro_utils/ktor/client/FlowsWebsockets.kt b/ktor/client/src/commonMain/kotlin/dev/inmo/micro_utils/ktor/client/FlowsWebsockets.kt index 599bb3b366d..b348acbd21a 100644 --- a/ktor/client/src/commonMain/kotlin/dev/inmo/micro_utils/ktor/client/FlowsWebsockets.kt +++ b/ktor/client/src/commonMain/kotlin/dev/inmo/micro_utils/ktor/client/FlowsWebsockets.kt @@ -65,8 +65,8 @@ inline fun HttpClient.createStandardWebsocketFlow( */ inline fun HttpClient.createStandardWebsocketFlow( url: String, - crossinline checkReconnection: (Throwable?) -> Boolean = { true }, deserializer: DeserializationStrategy, + crossinline checkReconnection: (Throwable?) -> Boolean = { true }, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat, noinline requestBuilder: HttpRequestBuilder.() -> Unit = {}, ) = createStandardWebsocketFlow( diff --git a/ktor/client/src/commonMain/kotlin/dev/inmo/micro_utils/ktor/client/StandardHttpClientGetPost.kt b/ktor/client/src/commonMain/kotlin/dev/inmo/micro_utils/ktor/client/StandardHttpClientGetPost.kt index 8ac3e7d571a..2e91d9acccd 100644 --- a/ktor/client/src/commonMain/kotlin/dev/inmo/micro_utils/ktor/client/StandardHttpClientGetPost.kt +++ b/ktor/client/src/commonMain/kotlin/dev/inmo/micro_utils/ktor/client/StandardHttpClientGetPost.kt @@ -90,7 +90,7 @@ class UnifiedRequester( checkReconnection: (Throwable?) -> Boolean, deserializer: DeserializationStrategy, requestBuilder: HttpRequestBuilder.() -> Unit = {}, - ) = client.createStandardWebsocketFlow(url, checkReconnection, deserializer, serialFormat, requestBuilder) + ) = client.createStandardWebsocketFlow(url, deserializer, checkReconnection, serialFormat, requestBuilder) fun createStandardWebsocketFlow( url: String,