getConnectedServerDelay method
Measures the delay to the currently connected V2Ray server.
url
is the server URL to test.
Returns a Future that completes with the delay in milliseconds.
Implementation
@override
Future<int> getConnectedServerDelay(String url) async {
return await methodChannel
.invokeMethod('getConnectedServerDelay', {'url': url});
}