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

docs: add proxy and SOCKS5 support to HTTP client configuration #214

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

appleboy
Copy link
Owner

  • Add proxy, socks, and skip verify options to the Anthropic client configuration
  • Introduce DefaultHeaderTransport for adding headers to HTTP requests
  • Implement HTTP client setup with optional proxy and SOCKS5 support
  • Add new options WithProxyURL, WithSocksURL, and WithSkipVerify for client configuration

- Add proxy, socks, and skip verify options to the Anthropic client configuration
- Introduce `DefaultHeaderTransport` for adding headers to HTTP requests
- Implement HTTP client setup with optional proxy and SOCKS5 support
- Add new options `WithProxyURL`, `WithSocksURL`, and `WithSkipVerify` for client configuration

Signed-off-by: appleboy <appleboy.tw@gmail.com>
@appleboy appleboy merged commit 197c6ff into main Dec 19, 2024
8 of 10 checks passed
@appleboy appleboy deleted the proxy branch December 19, 2024 01:44
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