NodeGRPCService constructor

NodeGRPCService({
  1. required Object host,
  2. required int port,
  3. ChannelOptions options = const ChannelOptions(credentials: ChannelCredentials.insecure()),
})

Implementation

NodeGRPCService({
  required this.host,
  required this.port,
  this.options = const ChannelOptions(
    credentials: ChannelCredentials.insecure(),
  ),
}) : nodeStub = NodeRpcClient(
  ClientChannel(
    host,
    port: port,
    options: options,
  ),
);