RestOfflineRequestQueue class
REST implementation of OfflineRequestQueue
Constructors
- RestOfflineRequestQueue({required RestOfflineQueueClient client})
-
REST implementation of
OfflineRequestQueue
Properties
- client → RestOfflineQueueClient
-
The client responsible for resending requests
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRunning → bool
-
If the queue is processing
no setterinherited
- logger → Logger
-
finalinherited
- processingInterval → Duration
-
How often requests are reattempted
finalinherited
- requestManager → RequestSqliteCacheManager
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
) → void -
Start the processing queue, resending requests every
processingInterval
. Stops the existing timer if it was already running.inherited -
stop(
) → void -
Invalidates timer. This does not stop actively-running recreated jobs.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transmitRequest(
Request request) → Future< void> - Send the next available request through the remote interface such as an HTTP client.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited