Skip to content

rasameel/diox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

499 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

diox

Language: English | 简体中文

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

To use below packages as a corresponding package to dio, see the details below.

Expand to see fork details...

diox is developed based on the code base of dio (@ac78e61), it can be used as a fork of dio theoretically with the dio branch. However, our goal is not to role as a fork, and diox also includes breaking changes during the development. You'll need a few steps to migrate to whether the new fork and the new diox.

If you use it as a fork:

  1. Use dependency_overrides in your pubspec.yaml:
    dependency_overrides:
      dio: # Change to other names if you're using plugins.
        git:
          url: https://github.com/cfug/diox
          path: dio/ # Change to other paths if you're using plugins.
          ref: dio
  2. Migrate the breaking changes according to the migration guide.
  3. Now you can continue to import 'package:dio/dio.dart';.

Still, we prefer to use diox directly since the fork will only maintain for the first 6 months according to our announcement, then it will be deprecated.

The dio branch will be synced (cherry-pick commits) before every release of packages.

diox (dio)

Plugins

  • cookie_manager: link Pub
  • http2_adapter: link Pub
  • native_diox_adapter: link Pub

Examples

  • example: link
  • example_flutter_app: link

Copyright & License

The project is originally authored by @wendux with the organization @flutterchina, hard-forked at 2022 and maintained by @cfug.

The project consents the MIT license.

About

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.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Dart 85.9%
  • C++ 6.2%
  • CMake 5.5%
  • Ruby 0.8%
  • HTML 0.5%
  • C 0.4%
  • Other 0.7%