Can't I modify the defaultRequest url after buildi...
# ktor
g
Can't I modify the defaultRequest url after building the client? I currently have DI with koin and wanna apply the base url after getting a ktor http client instance created by koin, not possible?
a
If you mean to change the configuration of the
DefaultRequest
plugin then no. You can create a new instance of the client with overridden configuration by using the
HttpClient.config
method.