http_retry 0.2.0 copy "http_retry: ^0.2.0" to clipboard
http_retry: ^0.2.0 copied to clipboard

discontinuedreplaced by: http

A wrapper for package:http clients that automatically retries requests

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add http_retry

With Flutter:

 $ flutter pub add http_retry

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  http_retry: ^0.2.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:http_retry/http_retry.dart';
14
likes
130
pub points
87%
popularity

Publisher

verified publishertools.dart.dev

A wrapper for package:http clients that automatically retries requests

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

async, http

More

Packages that depend on http_retry