onResponse

The function to intercept HTTP responses with.

Parameters

response

The original HttpResponse object to be modified. Note: certain requests have their response body written to disk. In that case, the field HttpResponseData.body will be empty.

continuation

Callback to be invoked once the interceptor has finished processing the response.