-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Add support for custom http.agent. #2709
Comments
ghost
mentioned this issue
Feb 17, 2022
Hello, what do you think for my proposal? @ricmoo |
ghost
changed the title
Add support for custom http.agent & custom user-agent headers.
Add support for custom http.agent.
Feb 27, 2022
I don't know this will make it into v5, but is certainly a candidate for v6. I'll move it to the Ideas discussion. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Using custom http.agent has been supported by web3.js and it has some many use cases.
Using proxy-agent for connecting remote nodes via SOCKS5 or HTTP proxy
web3/web3.js#887
web3/web3.js#2827
Using client ssl certiciates for http provider
web3/web3.js#2395
Many npm libraries like axios also supports using custom http.agent as well
https://github.com/axios/axios#request-config
Also, this will help with developers connecting remote nodes with some networking restrictions ( censorship, firewalls, etc ).
Also suggesting to give an ability to use custom user-agent headers to hide information about users.
The text was updated successfully, but these errors were encountered: