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

Support socks5 proxies? #10

Open
petterreinholdtsen opened this issue May 29, 2020 · 1 comment
Open

Support socks5 proxies? #10

petterreinholdtsen opened this issue May 29, 2020 · 1 comment

Comments

@petterreinholdtsen
Copy link

Hi. Is there a way to use this library with socks5 proxies?

@Rob--W
Copy link
Owner

Rob--W commented May 30, 2020

This library does not offer any proxy functionality, it only reads proxy information from environment variables in a standard way, to offer the desired proxy to the library user (which can then in turn use the returned configuration to do the actual proxying).

Whether SOCKS proxies are supported depends on the application that consumes the variables. For example, in curl, one can set the value to socks5://username:password@hostname:port to request the use of a SOCKS5 proxy.

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

No branches or pull requests

2 participants