createTcpProxyList static method

Future<Empty> createTcpProxyList(
  1. PortList portList
)

Implementation

static Future<Empty> createTcpProxyList(PortList portList) async {
  final channel = await Channel.getOpenIoTHubChannel();
  final stub = SessionManagerClient(channel);
  final response = await stub.createTcpProxyList(portList);
  print('createTcpProxyList received: ${response}');
  channel.shutdown();
  return response;
}