onResponse method

void onResponse(
  1. Response response,
  2. ResponseInterceptorHandler handler
)

Called when the response is about to be resolved.

Implementation

void onResponse(
  Response response,
  ResponseInterceptorHandler handler,
) {
  handler.next(response);
}