Join Slack
Powered by
Is there a way to change these client configuratio...
# ktor
x
xxfast
11/11/2022, 3:32 PM
Is there a way to change these client configurations during runtime, after they have been configured?
Copy code
install(Logging) { this.logger = get() this.level = ALL }
✅ 1
a
Aleksei Tirman [JB]
11/11/2022, 6:12 PM
Unfortunately, no, but you can create a new client instance with overridden configuration
https://api.ktor.io/ktor-client/ktor-client-core/io.ktor.client/-http-client/config.html
.
👍 2
x
xxfast
11/16/2022, 9:43 PM
Yeah restarting the app to load the config would be the safest bet
122
Views
Open in Slack
Previous
Next