RoutingConnectionSettings class

Defines the settings for the retry logic when connecting to the HERE routing backend.

When a timeout is triggered, the next connection attempt starts with a increased timeout. new_timeout = initial_timeout + increment * retry_count

Constructors

RoutingConnectionSettings()

Properties

connectionTimeoutRetryIncrease ↔ Duration
Defines the increase of the timeout for the transfer of data. By default, the initial connection increment per timeout 10 seconds.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
initialConnectionTimeout ↔ Duration
Defines the initial time out for connection to the backend. By default, the initial connection timeout is 5 seconds.
getter/setter pair
initialTransferTimeout ↔ Duration
Defines the initial time out for data transfer from the backend. By default, the initial transfer timeout is 10 seconds.
getter/setter pair
maxRetryCount ↔ int
Defines the max amount of retries before the route request failes with connection related error codes. By default, the max amount of retries is 3.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
transferTimeoutRetryIncrease ↔ Duration
Defines the increase of the timeout for the connection. By default, the initial transfer increment per timeout is 2 seconds.
getter/setter pair

Methods

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.