TooTallNate / proxy-agents

Node.js HTTP Proxy Agents Monorepo
https://proxy-agents.n8.io
918 stars 238 forks source link

Pass `req` to `getProxyForUrl` callback #326

Open addaleax opened 1 month ago

addaleax commented 1 month ago

This allows more flexibility in the callback, e.g. for inspecting request headers before deciding on a given proxy.

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: ecf23dcd9e805ca43a738dbd266f6c2a25b45601

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------- | ----- | | proxy-agent | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
proxy-agents ✅ Ready (Inspect) Visit Preview Aug 7, 2024 1:25pm