Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added dio options parameter #258

Merged
merged 1 commit into from
Sep 6, 2024
Merged

Added dio options parameter #258

merged 1 commit into from
Sep 6, 2024

Conversation

yngQ
Copy link
Contributor

@yngQ yngQ commented Sep 3, 2024

I suggest adding the "RequestOptions" transfer using the "@DioOptions" annotation, as this is a very important part of Dio and will allow transferring CancelToken, onReceiveProgress, etc. to requests. I need to be able to cancel requests, but now, in order to transfer, for example, CancelToken, I need to write it manually, and when regenerating it will be erased and I will have to write everything again. If the PR is approved, I will write tests

@Carapacik Carapacik self-requested a review September 6, 2024 12:51
@Carapacik Carapacik merged commit ade8d64 into Carapacik:main Sep 6, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants