fetchValidatedProxiesLegacy method
Future<List<Proxy> >
fetchValidatedProxiesLegacy({})
override
Gets a list of validated proxies with legacy parameters
This is kept for backward compatibility
count
is the number of proxies to return
onlyHttps
filters to only return HTTPS proxies
countries
filters to only return proxies from specific countries
onProgress
is a callback for progress updates during validation
Implementation
@override
Future<List<Proxy>> fetchValidatedProxiesLegacy({
int count = 10,
bool onlyHttps = false,
List<String>? countries,
void Function(int completed, int total)? onProgress,
}) async {
return _advancedProxyManager.getValidatedProxies(
options: ProxyFilterOptions(
count: count,
onlyHttps: onlyHttps,
countries: countries,
),
onProgress: onProgress,
);
}