Skip to content

A powerful HTTP package for Dart/Flutter, which supports Global settings, Interceptors, FormData, Aborting and canceling a request, Files uploading and downloading, Requests timeout, Custom adapters, etc.

License

cfug/dio

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

### New Pull Request Checklist

- [x] I have read the
[Documentation](https://pub.dev/documentation/dio/latest/)
- [x] I have searched for a similar pull request in the
[project](https://github.com/cfug/dio/pulls) and found none
- [x] I have updated this branch with the latest `main` branch to avoid
conflicts (via merge from master or rebase)
- [ ] I have added the required tests to prove the fix/feature I'm
adding
- [x] I have updated the documentation (if necessary)
- [x] I have run the tests without failures
- [x] I have updated the `CHANGELOG.md` in the corresponding package

### Additional context and info (if any)

Methods in `BrowserHttpClientAdapter` and `IOHttpClientAdapter` can be
defined directly through their constructor instead of updates after the
creation.

---------

Signed-off-by: Alex Li <github@alexv525.com>
c2347f3

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
dio
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

dio

Language: English | 简体中文

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

dio

Plugins

  • cookie_manager: link Pub
  • http2_adapter: link Pub
  • native_dio_adapter: link Pub

Examples

  • example: link
  • example_flutter_app: link

Copyright & License

The project and it's 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.