ClientGrpc
interface ClientGrpc {
getService<T extends object>(name: string): T
getClientByServiceName<T = any>(name: string): T
}
Class implementations
Methods
getService() | ||||||
---|---|---|---|---|---|---|
Returns an instance of the given gRPC service. |
||||||
Parameters
Returns
|
getClientByServiceName() | ||||||
---|---|---|---|---|---|---|
Returns an instance of the given gRPC client. |
||||||
Parameters
Returns
|