okhttp / okhttp3 / EventListener / responseHeadersEnd

responseHeadersEnd

open fun responseHeadersEnd(call: Call, response: Response): Unit

Invoked immediately after receiving response headers.

This method is always invoked after responseHeadersStart.

Parameters

response - the response received over the network. It is an error to access the body of this response.