diff --git a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/webclient/KtorWebClient.kt b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/webclient/KtorWebClient.kt index fcfc6b7e..9ef760dc 100644 --- a/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/webclient/KtorWebClient.kt +++ b/fints4k/src/commonMain/kotlin/net/codinux/banking/fints/webclient/KtorWebClient.kt @@ -18,7 +18,7 @@ open class KtorWebClient( private val log by logger() - protected val client = HttpClient { + protected open val client = HttpClient { install(HttpTimeout) { this.connectTimeoutMillis = connectTimeoutMillis this.requestTimeoutMillis = requestTimeoutMillis @@ -37,7 +37,7 @@ open class KtorWebClient( } - suspend fun get(url: String): WebClientResponse { + open suspend fun get(url: String): WebClientResponse { val clientResponse = client.get(url) val responseBody = clientResponse.bodyAsText()