Skip to main content

idempotency 0.1.0 copy "idempotency: ^0.1.0" to clipboard
idempotency: ^0.1.0 copied to clipboard

Client-side idempotency keys for Dart and Flutter: persist a key before the request fires, replay stored responses on retries, detect request-in-progress conflicts.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add idempotency

With Flutter:

 $ flutter pub add idempotency

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

dependencies:
  idempotency: ^0.1.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:idempotency/idempotency.dart';
0
likes
160
points
67
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Client-side idempotency keys for Dart and Flutter: persist a key before the request fires, replay stored responses on retries, detect request-in-progress conflicts.

Repository (GitHub)
View/report issues

Topics

#http #idempotency #retry #dart #flutter

License

MIT (license)

More

Packages that depend on idempotency