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

Coordinated Dio interceptor for retry, timeout, circuit breaker, rate limit, fallback, and OAuth token refresh. Strategies share state so they don't fight each other.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'home_page.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'dio_resilience Demo',
      theme: ThemeData(
        useMaterial3: true,
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.blue),
      ),
      home: const HomePage(),
    );
  }
}
1
likes
160
points
32
downloads

Documentation

API reference

Publisher

verified publishernarek-manukyan.dev

Weekly Downloads

Coordinated Dio interceptor for retry, timeout, circuit breaker, rate limit, fallback, and OAuth token refresh. Strategies share state so they don't fight each other.

Repository (GitHub)
View/report issues
Contributing

Topics

#dio #http #network #authentication #interceptor

License

MIT (license)

Dependencies

dio, meta

More

Packages that depend on dio_resilience