okhttp / okhttp3 / EventListener / connectionAcquired

connectionAcquired

open fun connectionAcquired(call: Call, connection: Connection): Unit

Invoked after a connection has been acquired for the call.

This can be invoked more than 1 time for a single Call. For example, if the response to the Call.request is a redirect to a different address.