You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 53f17cf
Browse filesBrowse the repository at this point in the historyBrowse files
feat(adapters): support explicit proxy configuration
Add a `proxy` client option that is threaded through to the Faraday,
httpx, and net/http adapters. Passing a URI string forces a specific
proxy; passing `false` disables proxying (including env-based
auto-detection) for a fixed, trusted `base_url`.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T1xdiN28Drqsrh3rET88kW
|`on_error`| Proc |`nil`| Callback for handling errors. |
94
94
|`adapter`| Symbol | auto-detect | HTTP adapter to use (`:faraday`, `:httpx`, `:net_http`). |
95
+
|`proxy`| String, Boolean | adapter default | Proxy to use for requests. Pass a URI string to force a specific proxy, or `false` to disable proxying (including any `HTTP_PROXY`/`HTTPS_PROXY` environment variables) for a fixed, trusted `base_url`. Unset by default: the `:faraday` and `:net_http` adapters auto-detect a proxy from the environment as they normally would; `:httpx` never does. |
0 commit comments