UNPKG

@ogma/platform-grpc

Version:

A plugin for the OgmaInterceptor to properly handle microservice requests from grpc protocols

9 lines (8 loc) 332 B
import { ExecutionContext } from '@nestjs/common'; import { RpcInterceptorService } from '@ogma/nestjs-module'; export declare class GrpcParser extends RpcInterceptorService { getCallPoint(context: ExecutionContext): any; getCallerIp(context: ExecutionContext): string; getProtocol(): string; getMethod(): string; }