The ktor http client doesn't seem to allow to bind...
# ktor
c
The ktor http client doesn't seem to allow to bind the http request to a different ip on the network interface, apache http client allows it by specifying a different local address from the request builder, is there a way to do it in ktor http client? Even using the Apache http client there seems to be no control over this.
looks like i could do it like this:
Copy code
(httpclient.engine.config as ApacheEngineConfig).customizeRequest { 
    <http://rootLogger.info|rootLogger.info>("pippo")
}
if you think there is a better way pls tell