brainstate

cfug/dio · source

Snapshot 0 · 2026-11-04T12:47:25Z · Dart · MIT

Content fingerprint0c6f35605d4f8551a69ace05fc4d7f3fa39b368380f83b050b304e7a3cccc19b

GitHub description at capture

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.

README at capture

# dio

Language: English | [简体中文](README-ZH.md)

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

> Don't forget to add [#dio](https://pub.dev/packages?q=topic%3Adio)
> 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](dio)
  [![Pub](https://img.shields.io/pub/v/dio.svg?label=dev&include_prereleases)](https://pub.dev/packages/dio)

### Plugins

- cookie_manager: [link](plugins/cookie_manager)
  [![Pub](https://img.shields.io/pub/v/dio_cookie_manager.svg?label=dev&include_prereleases)](https://pub.dev/packages/dio_cookie_manager)
- compatibility_layer: [link](plugins/compatibility_layer)
  [![Pub](https://img.shields.io/pub/v/dio_compatibility_layer.svg?label=dev&include_prereleases)](https://pub.dev/packages/dio_compatibility_layer)
- http2_adapter: [link](plugins/http2_adapter)
  [![Pub](https://img.shields.io/pub/v/dio_http2_adapter.svg?label=dev&include_prereleases)](https://pub.dev/packages/dio_http2_adapter)
- native_dio_adapter: [link](plugins/native_dio_adapter)
  [![Pub](https://img.shields.io/pub/v/native_dio_adapter.svg?label=dev&include_prereleases)](https://pub.dev/packages/native_dio_adapter)
- web_adapter: [link](plugins/web_adapter)
  [![Pub](https://img.shields.io/pub/v/dio_web_adapter.svg?label=dev&include_prereleases)](https://pub.dev/packages/dio_web_adapter)

### Examples

- example: [link](example_dart)
- example_flutter_app: [link](example_flutter_app)

## Copyright & License

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

The project consents [the MIT license](LICENSE).