CacheableSecondaryAddressFinder constructor
CacheableSecondaryAddressFinder(
- String _rootDomain,
- int _rootPort, {
- Duration? cacheDuration,
- SecondaryUrlFinder? secondaryFinder,
- SecureSocketConfig? socketConfig,
Implementation
CacheableSecondaryAddressFinder(this._rootDomain, this._rootPort,
{Duration? cacheDuration,
SecondaryUrlFinder? secondaryFinder,
SecureSocketConfig? socketConfig})
: _cacheDuration = cacheDuration ?? defaultCacheDuration {
_secondaryFinder = secondaryFinder ??
SecondaryUrlFinder(_rootDomain, _rootPort, socketConfig: socketConfig);
}