Skip to main content

api_interceptor 0.0.1 copy "api_interceptor: ^0.0.1" to clipboard
api_interceptor: ^0.0.1 copied to clipboard

A Dart library for managing HTTP requests with Dio interceptors, providing detailed logging and error handling.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add api_interceptor

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

dependencies:
  api_interceptor: ^0.0.1

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

Import it

Now in your Dart code, you can use:

import 'package:api_interceptor/api_interceptor.dart';
0
likes
130
points
43
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Dart library for managing HTTP requests with Dio interceptors, providing detailed logging and error handling.

Repository (GitHub)

License

MIT (license)

Dependencies

dio, flutter

More

Packages that depend on api_interceptor