validateSpecificProxy method

  1. @override
Future<bool> validateSpecificProxy(
  1. Proxy proxy, {
  2. String? testUrl,
  3. int timeout = 10000,
  4. bool updateScore = true,
})
override

Validates a specific proxy

proxy is the proxy to validate testUrl is the URL to use for testing timeout is the timeout in milliseconds updateScore determines whether to update the proxy's score

Implementation

@override
Future<bool> validateSpecificProxy(
  Proxy proxy, {
  String? testUrl,
  int timeout = 10000,
  bool updateScore = true,
}) async {
  return _advancedProxyManager.validateProxy(proxy);
}