http_retry 0.2.0
http_retry: ^0.2.0 copied to clipboard

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';
8
likes
130
pub points
86%
popularity

Publisher

tools.dart.dev

A wrapper for package:http clients that automatically retries requests

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

async, http

More

Packages that depend on http_retry