okhttp / okhttp3 / EventListener / responseHeadersStart

responseHeadersStart

open fun responseHeadersStart(call: Call): Unit

Invoked just prior to receiving response headers.

The connection is implicit, and will generally relate to the last connectionAcquired event.

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.