call method

Future<bool> call(
  1. Proxy proxy, {
  2. String? testUrl,
  3. int timeout = 10000,
})

Executes the use case to validate a proxy

proxy is the proxy to validate testUrl is the URL to use for testing timeout is the timeout in milliseconds

Implementation

Future<bool> call(
  Proxy proxy, {
  String? testUrl,
  int timeout = 10000,
}) {
  return repository.validateProxy(
    proxy,
    testUrl: testUrl,
    timeout: timeout,
  );
}