Constructor
new GrpcClient(options)
- Source:
Parameters:
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object
|
|
Methods
(async) call(method, dataopt, metaopt)
Actual remote functions call happen here
- Source:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
method |
function
|
method name on gRPC remote service |
|
data |
object
|
<optional> |
object contains all required arguments for remote method |
meta |
object
|
<optional> |
object contains additional payload data to be passed as gRPC metadata |