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

feat(downloader): allow remote::Client to be customised #2035

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

passcod
Copy link
Member

@passcod passcod commented Feb 3, 2025

This is for usage outside of binstall itself.

Sometimes it's useful to be able to specify more reqwest options, such as doing custom DNS resolution. This leaves the existing API identical but adds a couple methods that make it possible to construct a client with custom options.

This is for usage outside of binstall itself.

Sometimes it's useful to be able to specify more reqwest options, such as doing custom DNS resolution. This leaves the existing API identical but adds a couple methods that make it possible to construct a client with custom options.

Signed-off-by: Félix Saparelli <felix@passcod.name>
@passcod passcod force-pushed the feat/downloader-custom-client branch from a107b77 to b88d0df Compare February 3, 2025 23:57
@passcod passcod requested a review from NobodyXu February 3, 2025 23:58
passcod added a commit to beyondessential/bestool that referenced this pull request Feb 4, 2025
Copy link
Member

@NobodyXu NobodyXu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks I think this is a pretty reasonable addition to binstalk-downloader

@NobodyXu NobodyXu added this pull request to the merge queue Feb 4, 2025
@NobodyXu
Copy link
Member

NobodyXu commented Feb 4, 2025

cc @passcod if you need a release now I can do it

Merged via the queue into main with commit 8dd9186 Feb 4, 2025
22 checks passed
@NobodyXu NobodyXu deleted the feat/downloader-custom-client branch February 4, 2025 11:39
@github-actions github-actions bot mentioned this pull request Feb 4, 2025
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