Made also remaining properties and methods open

This commit is contained in:
dankito 2024-08-30 17:29:16 +02:00
parent 21215300b3
commit 7e8d005fcb
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ open class KtorWebClient(
private val log by logger() private val log by logger()
protected val client = HttpClient { protected open val client = HttpClient {
install(HttpTimeout) { install(HttpTimeout) {
this.connectTimeoutMillis = connectTimeoutMillis this.connectTimeoutMillis = connectTimeoutMillis
this.requestTimeoutMillis = requestTimeoutMillis 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 clientResponse = client.get(url)
val responseBody = clientResponse.bodyAsText() val responseBody = clientResponse.bodyAsText()