ProxyRepository class abstract
Repository interface for proxy management
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fetchProxies(
{ProxyFilterOptions options = const ProxyFilterOptions()}) → Future< List< Proxy> > - Fetches a list of proxies from various sources
-
fetchProxiesLegacy(
{int count = 20, bool onlyHttps = false, List< String> ? countries}) → Future<List< Proxy> > - Fetches a list of proxies with legacy parameters
-
getValidatedProxies(
{ProxyFilterOptions options = const ProxyFilterOptions(count: 10), void onProgress(int completed, int total)?}) → Future< List< Proxy> > - Gets a list of validated proxies
-
getValidatedProxiesLegacy(
{int count = 10, bool onlyHttps = false, List< String> ? countries, void onProgress(int completed, int total)?}) → Future<List< Proxy> > - Gets a list of validated proxies with legacy parameters
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validateProxies(
List< Proxy> proxies, {ProxyValidationOptions options = const ProxyValidationOptions(), void onProgress(int completed, int total)?}) → Future<List< bool> > - Validates multiple proxies in parallel
-
validateProxy(
Proxy proxy, {String? testUrl, int timeout = 10000}) → Future< bool> - Validates a proxy by testing its connectivity
-
validateProxyWithOptions(
Proxy proxy, {ProxyValidationOptions options = const ProxyValidationOptions()}) → Future< bool> - Validates a proxy with advanced options
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited