pingConfig method
Test network speed
config — Xray config
port — Port to test
testingUrl — URL to test (need response 200 or 204 code)
Implementation
@override
Future<int> pingConfig(XrayConfig config, int port, String testingUrl) =>
_lib.pingConfig(jsonEncode(config), port, testingUrl);