getDefaultIoTManagerChannel static method

Future<ClientChannel> getDefaultIoTManagerChannel()

Implementation

static Future<ClientChannel> getDefaultIoTManagerChannel() async {
  ClientChannel channel;
  channel = ClientChannel(
    Config.iotManagerGrpcIp,
    port: Config.iotManagerGrpcPort,
    // options: const ChannelOptions(
    //     credentials: const ChannelCredentials.insecure())
  );
  return channel;
}