registerService method

void registerService(
  1. Service implementation
)

Registers a service with related implementation

  • implementation a GRPC service object with service implementation methods.

Implementation

void registerService(grpc.Service implementation) {
  if (endpoint != null) {
    endpoint!.registerService(implementation);
  }
}