addInterceptor method

NetOptions addInterceptor(
  1. Interceptor interceptor
)

添加拦截器

Implementation

NetOptions addInterceptor(Interceptor interceptor) {
  _httpConfigBuilder.addInterceptor(interceptor);
  return instance;
}