Client is a gRPC client that can interact with a gRPC server.
Method | Description |
---|---|
Client.load(importPaths, ...protoFiles) | Loads and parses the given protocol buffer definitions to be made available for RPC requests. |
Client.loadProtoset(protosetPath) | Loads and parses the given protoset file to be made available for RPC requests. |
Client.connect(address [,params]) | Opens a connection to the given gRPC server. |
Client.invoke(url, request [,params]) | Makes a unary RPC for the given service/method and returns a Response. |
Client.close() | Close the connection to the gRPC service. |