ping abstract method

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

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

Implementation

Future<int> ping(int port, String testingUrl);