getServerDelay method

Future<int> getServerDelay({
  1. required String config,
  2. required String url,
})

Measures the delay to a V2Ray server using the provided configuration and URL. config is the V2Ray configuration in JSON format. url is the server URL to test. Returns a Future that completes with the delay in milliseconds.

Implementation

Future<int> getServerDelay({required String config, required String url}) {
  throw UnimplementedError('getServerDelay() has not been implemented.');
}