addInterceptor method

  1. @override
void addInterceptor(
  1. HttpInterceptor interceptor
)
inherited

Implementation

@override
void addInterceptor(HttpInterceptor interceptor) {
  _requestPathway.addInterceptor(interceptor.interceptRequest);
  _responsePathway.addInterceptor(interceptor.interceptResponse);
}