Can I change engine with the shallow copies create...
# ktor
u
Can I change engine with the shallow copies created via
httpClient.config { .. }
?
a
Unfortunately, no.
u
I can hack it by casting. Am I not supposed to?
a
When you call the
config
method, the reference to the engine is copied.
The engine cannot be overridden by the
config
method because the reference is stored outside of the config.
u
ok thank you