Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

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 | Jian Ti Zhong Wen

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
  • http2_adapter: link
  • native_diox_adapter: link

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

Readme

License

MIT license

Stars

Watchers

Forks

Contributors