pingConfig abstract method

Future<List<PingResult>> pingConfig(
  1. XrayConfig config,
  2. List<int> ports,
  3. String testingUrl
)

Test network speed config — Xray config ports — Ports to test testingUrl — URL to test (need response 200 or 204 code)

Implementation

Future<List<PingResult>> pingConfig(
  XrayConfig config,
  List<int> ports,
  String testingUrl,
);