addInterceptor method

  1. @override
void addInterceptor(
  1. DartnessInterceptor interceptor
)
override

Adds an interceptor in order to listen before the http request

Implementation

@override
void addInterceptor(final DartnessInterceptor interceptor) {
  _pipeline = _pipeline.addInterceptor(interceptor);
}