A powerful HTTP client for Dart and Flutter, which supports global settings, Interceptors, FormData, aborting and canceling a request, files uploading and downloading, requests timeout, custom adapters, etc.

AI Prompts & Endpoints
Agent Skills View CodeWiki Knowledge Base

Repository: cfug/dio


Stars: 12814

README.md

dio

Language: English | įŽ€äŊ“中文

This is the base repo of the dio project.
Please move specific paths for project instructions.

Don't forget to add #dio

topic to your published dio related packages!

See more: https://dart.dev/tools/pub/pubspec#topics

Versioning

Before you upgrade: Breaking changes might happen in major and minor versions of packages.<br/>
See the [Migration Guide][] for the complete breaking changes list.

To know about our compatibility policy, see the [Compatibility Policy][] doc.

[Migration Guide]: https://pub.dev/documentation/dio/latest/topics/Migration%20Guide-topic.html
[Compatibility Policy]: COMPATIBILITY_POLICY.md

All Packages

dio

- dio: link
![Pub](https://pub.dev/packages/dio)

Plugins

- cookie_manager: link
![Pub](https://pub.dev/packages/dio_cookie_manager)
- compatibility_layer: link
![Pub](https://pub.dev/packages/dio_compatibility_layer)
- http2_adapter: link
![Pub](https://pub.dev/packages/dio_http2_adapter)
- native_dio_adapter: link
![Pub](https://pub.dev/packages/native_dio_adapter)
- web_adapter: link
![Pub](https://pub.dev/packages/dio_web_adapter)

Examples

- example: link
- example_flutter_app: link

The project and its underlying projects
are originally authored by
@wendux
with the organization
@flutterchina,
started being maintained by
Chinese Flutter User Group (@cfug)
since 2023.

The project consents the MIT license.

Star History

<a href="https://star-history.com/#cfug/dio&Date">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=cfug/dio&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=cfug/dio&type=Date" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=cfug/dio&type=Date" />
</picture>
</a>