Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

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/diox

Repository files navigation

diox

The diox has been migrated to the original dio package. Please refer to the dio repo. https://github.com/cfug/dio

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.

Topics

Resources

License

Stars

Watchers

Forks