SecondaryUrlFinder class

When SecondaryUrlFinder tries to lookup the atServer's address from an atDirectory, it may encounter intermittent failures for various reasons - 'network weather', service glitches, etc.

In order to be resilient to such failures, we implement retries.

The static variable retryDelaysMillis controls (a) how many retries are done, and (b) the delay before each retry

Constructors

SecondaryUrlFinder(String _rootDomain, int _rootPort, {AtLookupSecureSocketFactory? socketFactory})

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

findSecondaryUrl(String atSign) Future<String?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

retryDelaysMillis List<int>
Controls (a) how many retries are done, and (b) the delay before each retry
getter/setter pair