responseHeadersEnd

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

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.