CachedStrategy class

Caches last successful transport and uses it for following attempts.

Implemented types
Annotations
  • @JS()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strategy Strategy
getter/setter pair
timeline Timeline
getter/setter pair
transports TransportStrategyDictionary
getter/setter pair
ttl num
getter/setter pair
usingTLS bool
getter/setter pair

Methods

connect(num minPriority, Function callback) StrategyRunner
override
isSupported() bool
override
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