API 参考 / @142vip/grpc / GrpcClient
定义于: core/grpc-client.ts:12
Grpc 客户端
new GrpcClient(connectUri): GrpcClient
connectUri
GrpcClient
定义于: core/grpc-client.ts:16
string
getConnectUri(): string
定义于: core/grpc-client.ts:60
获取连接地址
getService<T>(servicePath): T
T
servicePath
定义于: core/grpc-client.ts:37
获取连接Service
getServicePaths(): string[]
定义于: core/grpc-client.ts:67
获取所有的服务路径
string[]
getServiceSize(): number
number
定义于: core/grpc-client.ts:74
获取连接数
registerService(servicePath, IServiceClientConstructor): void
IServiceClientConstructor
void
定义于: core/grpc-client.ts:25
建立连接
ServiceClientConstructor
removeService(servicePath?): void
servicePath?
定义于: core/grpc-client.ts:82
关闭gRPC连接
There was an error while loading. Please reload this page.