gRPC Service Interceptor
Creates a service from a given gRPC server, allowing you to configure interceptors for its methods.
Installation
$ npm install grpc-service-interceptor --save
Usage
const GrpcServiceInterceptor = ; const service = grpcServer grpcServiceDefinition; const firstInterceptor = async { // ctx.call, ctx.callback ;}; const secondInterceptor = async { ;}; const firstHandler = async { // handle response}; const secondHandler = async { // handle response}; service;service; service;