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

how to add proxy? #2

Closed
PassiveIncomeMachine opened this issue Feb 21, 2024 · 2 comments
Closed

how to add proxy? #2

PassiveIncomeMachine opened this issue Feb 21, 2024 · 2 comments

Comments

@PassiveIncomeMachine
Copy link

how to add proxy? thx

@zhangjh
Copy link
Owner

zhangjh commented Feb 21, 2024

It's another topic, you can look at the docs about v2ray here.
You can also use this shell script to set up v2ray quickly and conveniently.
Once you set up your v2ray service, you can set the proxy enviroment variable by using the command like this:
export http_proxy=http://127.0.0.1:1087;export https_proxy=http://127.0.0.1:1087;export ALL_PROXY=socks5://127.0.0.1:1080;

@zhangjh zhangjh closed this as completed Feb 21, 2024
@zhangjh
Copy link
Owner

zhangjh commented Apr 24, 2024

I have already support adding local proxy in this sdk project.
Look at the code: me.zhangjh.gemini.util.HttpClientUtil
image

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