Skip to content

API 参考 / @142vip/grpc / getMethodType

函数: getMethodType()

getMethodType(methodName, serviceDef): ServiceMethodType

定义于: utils/grpc.util.ts:41

获取GRPC方法类型

参数

methodName

string

serviceDef

ServiceDefinition

返回

ServiceMethodType