RequestAttemptExtension extension
Extension to track the number of request attempts on dio.RequestOptions
.
- on
-
- RequestOptions
Properties
- attempt → int
-
Available on RequestOptions, provided by the RequestAttemptExtension extension
The number of times the request has been attempted.no setter
Methods
-
incrementAttempt(
) → void -
Available on RequestOptions, provided by the RequestAttemptExtension extension
Increments the number of times the request has been attempted.