mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-25 23:45:52 +03:00
[GH-ISSUE #536] How to use proxies #173
Labels
No labels
Stale
bug
discussion
enhancement
good first issue
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rspotify#173
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @barthofu on GitHub (Sep 14, 2025).
Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/536
Hey!
Sorry if it's a dumb question but i can't figure out how to configure proxies for the http client, or even how to inject a custom client if it is even possible 😅
Could you point me in the right direction? Thanks a lot!
@ramsayleung commented on GitHub (Sep 15, 2025):
Both
reqwestandureqsupport system proxies by default. They both readhttp_proxy,https_proxy,all_proxyand their uppercase variantsHTTP_PROXY,HTTPS_PROXY,ALL_PROXY, although the specific logic implementations are a little different.see also: https://docs.rs/rspotify/latest/rspotify/#proxies