getOpenIoTHubChannel static method

Future<ClientChannel> getOpenIoTHubChannel()

Implementation

static Future<ClientChannel> getOpenIoTHubChannel() async {
  final channel = ClientChannel(Config.webgRpcIp,
      port: Config.webgRpcPort,
      options: const ChannelOptions(
          credentials: const ChannelCredentials.insecure()));
  return channel;
}