Skip to content

Feature proposal: Switch from http to dio #93

@JacoFaberSA

Description

@JacoFaberSA

Using Dio would enable real send and receive progress updates and allow requests to be canceled with a cancel token.

I've implemented a preliminary conversion here to demonstrate these capabilities: https://github.com/JacoFaberSA/minio-dart/tree/convert-from-http-to-dio

However, in its current state, the user would need to include Dio in their app to access cancel tokens. To address this, I would implement a custom callback controller to relay the getter and callbacks to the cancel token.

Additionally, I would add onProgress callbacks to other features, as this is straightforward to implement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions