onResponse

abstract fun onResponse(@NonNull response: HttpResponse): HttpResponse

The function to intercept HTTP responses with.

Return

The modified HttpResponse object.

Parameters

response

The original HttpResponse object to be modified.