ping method

  1. @override
Future<int> ping(
  1. int port,
  2. String testingUrl
)
override

Test network speed port — Port to test testingUrl — URL to test (need response 200 or 204 code)

Implementation

@override
Future<int> ping(int port, String testingUrl) => _lib.ping(port, testingUrl);