registerInterceptor method

void registerInterceptor(
  1. Interceptor action
)

Registers a interceptor in this objects GRPC server (service)

  • action the action to perform.

Implementation

void registerInterceptor(grpc.Interceptor action) {
  // _interceptors ??= <grpc.Interceptor>[];
  _interceptors.add(action);
}