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

Implement proxy requests #387

Open
teemall opened this issue Jan 27, 2025 · 1 comment
Open

Implement proxy requests #387

teemall opened this issue Jan 27, 2025 · 1 comment

Comments

@teemall
Copy link

teemall commented Jan 27, 2025

Having the ability to proxy requests, especially through a dump, could be incredibly handy with a project like this. It doesn't look like proxying requests is on your guys road map, but I would be happy look into implementing this so long as it aligns with the vision of this project.

@krichprollsch
Copy link
Member

Hello @teemall,

Implementing proxy support is something we want to integrate in the project.

Any help would be appreciated.

I can see different tasks to do:

  • ensure proxies are working in the sync http client (a copy of zig's std client modified to use zig.tls)
  • handle proxies in the async http client (the hardest part I guess)
  • change browser.zig to inject proxy configuration in http clients
  • add a way to configure proxies in main.zig. Is guess using something similar to chrome --proxy option would be good enough

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