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(client): Adapt thread-safe update client configuration #403

Merged
merged 15 commits into from
Feb 7, 2025
Merged

Conversation

0x676e67
Copy link
Owner

@0x676e67 0x676e67 commented Feb 7, 2025

This pull request includes multiple changes to the rquest library, focusing on updating the Client builder usage and improving the API ergonomics. The most important changes include adding the apply method to various client configurations, updating the README.md file, and adding a new dependency in Cargo.toml.

Client Configuration Updates:

  • Updated examples/base_url.rs, examples/client_chain.rs, examples/set_cookie_provider.rs, examples/set_headers.rs, examples/set_impersonate.rs, examples/set_interface.rs, examples/set_local_address.rs, examples/set_proxies.rs, and examples/set_redirect.rs to use the apply method after setting client configurations. This ensures that changes are properly applied. [1] [2] [3] [4] [5] [6] [7] [8] [9]

Dependency Addition:

  • Added arc-swap version 1.7.0 to Cargo.toml to manage atomic reference counting for shared data.

Documentation Updates:

  • Updated README.md to improve the licensing section and remove redundant learning resources. [1] [2]

Code Simplification:

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.

1 participant