From 7e8d005fcb6ab0007b93e28554f25f85e890707e Mon Sep 17 00:00:00 2001 From: dankito Date: Fri, 30 Aug 2024 17:29:16 +0200 Subject: [PATCH] Made also remaining properties and methods open --- .../net/codinux/banking/fints/webclient/KtorWebClient.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()