PivoxBuilder class

A builder class for simplifying Pivox initialization

Constructors

PivoxBuilder.new()

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

buildDioInterceptor() Future<ProxyInterceptor>
Creates a Dio interceptor for proxy support
buildHeadlessBrowserService() Future<HeadlessBrowserService>
Builds a headless browser service
buildHttpClient() Future<ProxyHttpClient>
Builds an HTTP client with proxy support
buildProxyManager() Future<ProxyManager>
Builds a ProxyManager instance
buildSpecializedHeadlessHandlers() Future<SpecializedHeadlessHandlers>
Builds specialized headless handlers for problematic sites
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withAdvancedProxyManager(bool useAdvancedProxyManager) PivoxBuilder
Enables the advanced proxy manager
withAnalytics(bool enableAnalytics) PivoxBuilder
Enables or disables analytics
withHeadlessBrowserConfig(HeadlessBrowserConfig config) PivoxBuilder
Sets the headless browser configuration
withHttpClient(Client httpClient) PivoxBuilder
Sets the HTTP client to use
withMaxConcurrentValidations(int maxConcurrentValidations) PivoxBuilder
Sets the maximum number of concurrent validations
withMaxRetries(int maxRetries) PivoxBuilder
Sets the maximum number of retries for Dio requests
withPreloadedProxies(bool usePreloadedProxies) PivoxBuilder
Enables preloaded proxies
withProxySourceConfig(ProxySourceConfig sourceConfig) PivoxBuilder
Sets the proxy source configuration
withRotateProxies(bool rotateProxies) PivoxBuilder
Sets whether to rotate proxies by default
withRotationStrategy(RotationStrategyType strategyType) PivoxBuilder
Sets the rotation strategy type
withSharedPreferences(SharedPreferences sharedPreferences) PivoxBuilder
Sets the SharedPreferences instance to use
withUseValidatedProxies(bool useValidatedProxies) PivoxBuilder
Sets whether to use validated proxies by default

Operators

operator ==(Object other) bool
The equality operator.
inherited