onResponse method

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

Passes the response through without modification.

This interceptor does not process successful responses; they are passed to the next interceptor in the chain.

Implementation

@override
void onResponse(Response response, handler) {
  return handler.next(response);
}