You cannot mutate the client's configuration but you can create a new client with overridden configuration.
k
kotlinforandroid
01/25/2024, 3:47 PM
Ahh, OK! Thanks for letting me know. Is the creation considered an expensive operation? Or is the performance impact negligible?
Theoretically, I can store the partial builder and only re-apply the last plugin installation for the custom header. And then recreate the client.
a
Aleksei Tirman [JB]
01/25/2024, 5:39 PM
It's a kinda expensive operation. How often do you plan changing the configuration?