getConnectedServerDelay method

Future<int> getConnectedServerDelay({
  1. String url = 'https://google.com/generate_204',
})

This method returns the connected server delay.

Implementation

Future<int> getConnectedServerDelay({String url = 'https://google.com/generate_204'}) async {
  return await FlutterV2rayPlatform.instance.getConnectedServerDelay(url);
}