okhttp / okhttp3 / EventListener / callStart

callStart

open fun callStart(call: Call): Unit

Invoked as soon as a call is enqueued or executed by a client. In case of thread or stream limits, this call may be executed well before processing the request is able to begin.

This will be invoked only once for a single Call. Retries of different routes or redirects will be handled within the boundaries of a single callStart and callEnd/callFailed pair.