API 参考 / @142vip/grpc / sendGrpcRequest
sendGrpcRequest<RequestData, ResponseData>(serviceClient, methodName, requestData): Promise<ResponseData | ResponseData[]>
RequestData
ResponseData
serviceClient
methodName
requestData
Promise
Defined in: utils/grpc.util.ts:89
发送GRPC请求 注意:rpcMethod.call(grpcService 这个写法,避免grpcClient的this指向异常
ServiceClient
string
Promise<ResponseData | ResponseData[]>
There was an error while loading. Please reload this page.