diff --git a/elasticmagic-transport-ktor/api/elasticmagic-transport-ktor.api b/elasticmagic-transport-ktor/api/elasticmagic-transport-ktor.api index fc2230da24..b6fcbd0c53 100644 --- a/elasticmagic-transport-ktor/api/elasticmagic-transport-ktor.api +++ b/elasticmagic-transport-ktor/api/elasticmagic-transport-ktor.api @@ -1,5 +1,5 @@ public final class dev/evo/elasticmagic/transport/ElasticsearchKtorTransport : dev/evo/elasticmagic/transport/ElasticsearchTransport { - public fun (Ljava/lang/String;Lio/ktor/client/engine/HttpClientEngine;Lkotlin/jvm/functions/Function1;)V - public synthetic fun (Ljava/lang/String;Lio/ktor/client/engine/HttpClientEngine;Lkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Ljava/lang/String;Lio/ktor/client/engine/HttpClientEngine;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V + public synthetic fun (Ljava/lang/String;Lio/ktor/client/engine/HttpClientEngine;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILkotlin/jvm/internal/DefaultConstructorMarker;)V } diff --git a/elasticmagic-transport-ktor/src/commonMain/kotlin/dev/evo/elasticmagic/transport/ElasticsearchKtorTransport.kt b/elasticmagic-transport-ktor/src/commonMain/kotlin/dev/evo/elasticmagic/transport/ElasticsearchKtorTransport.kt index eb1fb62eed..442ebd5851 100644 --- a/elasticmagic-transport-ktor/src/commonMain/kotlin/dev/evo/elasticmagic/transport/ElasticsearchKtorTransport.kt +++ b/elasticmagic-transport-ktor/src/commonMain/kotlin/dev/evo/elasticmagic/transport/ElasticsearchKtorTransport.kt @@ -22,7 +22,7 @@ import io.ktor.http.takeFrom class ElasticsearchKtorTransport( baseUrl: String, engine: HttpClientEngine, - val customHttpClientConfig: HttpClientConfig<*>.() -> Unit = {}, + private val customHttpClientConfig: HttpClientConfig<*>.() -> Unit = {}, configure: Config.() -> Unit = {}, ) : ElasticsearchTransport( baseUrl,