dio_smart_retry 7.0.0 copy "dio_smart_retry: ^7.0.0" to clipboard
dio_smart_retry: ^7.0.0 copied to clipboard

Retry library for Dio and Dio package made with love. By default, the request will be retried only for appropriate retryable http statuses.

7.0.0 #

  • [BREAKING CHANGE] MultipartFileRecreatable removed. Use a regular MultipartFile instead of MultipartFileRecreatable.

6.0.0 #

  • Updated internal libraries.
  • Bumped minimum Dart SDK to 3.0.
  • Added MultipartFileRecreatable documentation.
  • Refactors static constructors to factories.
  • Adds a new MultipartFileRecreatable.fromBytes factory compatible with web.
  • Added a new headers parameter.
  • You can now read the file's content with MultipartFileRecreatable.data.
  • Breaking: MultipartFileRecreatable.filename is now a named parameter to match dio.
  • Breaking: Removed MultipartFileRecreatable.filePath since it was not being used internally.

5.0.0 #

  • Add supporting of the new dio 5.+

2.0.1-diox #

  • Add supporting of DioX

1.4.0 #

  • Add supporting of retrying for requests with multipart/form-data, use MultipartFileRecreatable class for that (details).
  • DefaultRetryEvaluator and status codes constants from the file http_status_codes.dart was made a part of the public API.

1.3.2 #

  • Add a feature allowing to specify extra retryable status codes (parameter retryableExtraStatuses) (#11)
  • Add a request's CancelToken checking
  • Update dependencies

1.2.0 #

  • Add properly an incorrect url scheme error handling in the default retry evaluator (#2)

1.1.0 #

  • A request catching is fixed (#1)
  • Dependencies were updated

1.0.3 #

  • Example updated

1.0.2 #

  • Initial version.
238
likes
150
pub points
98%
popularity

Publisher

verified publisherrodion-m.ru

Retry library for Dio and Dio package made with love. By default, the request will be retried only for appropriate retryable http statuses.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

dio, http_parser, path

More

Packages that depend on dio_smart_retry