Skip to content

Allow passing our own Dio in order to use Dio Cache interceptor #11

@atn832

Description

@atn832

If I make too many requests to yfinance, it starts returning error 429: Too many requests. My app actually makes a lot of similar requests, so I could solve my issue by using a Dio Cache like this one: https://pub.dev/packages/dio_cache_interceptor. However, the API currently does not allow us to do that. Would you be able to modify the API to optionally provide my own instance of Dio?

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