Closed lukekarrys closed 3 months ago
Latest commit: 09cac544e55f34783452e29f7d28a2da095d4162
The changes in this PR will be included in the next version bump.
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
proxy-agents | ✅ Ready (Inspect) | Visit Preview | Aug 30, 2023 7:39pm |
@TooTallNate Any thoughts on this PR? Happy to rework it based on any feedback you might have.
Deleted my fork before I realized this PR was attached to it. Reopened as #302.
This PR adds the option
socketOptions
which will get passed along toSocksClient.createConnection
assocket_options
.Another solution would be to spread all the unused constructor options to the
SocksClient.createConnection
options since there are a few more that are allowed. I didn't go this route since I only have a use case forsocket_options
and I didn't want to couple the two APIs too closely. But I'd be happy to rework this PR if desired.For reference the
SocksClientOptions
interface is: