Skip to content

Sending requests through a proxy #186

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

Closed
jwlee-asp opened this issue Jul 29, 2022 · 1 comment · Fixed by #188
Closed

Sending requests through a proxy #186

jwlee-asp opened this issue Jul 29, 2022 · 1 comment · Fixed by #188

Comments

@jwlee-asp
Copy link

jwlee-asp commented Jul 29, 2022

I have used http libraries with hpagent to send requests to a proxy. Is it possible to send requests made from the client through a proxy? I couldn't find a configuration with the client, but would there be an avenue using the middleware?

@tatethurston
Copy link
Owner

Hey @jwlee-asp thanks for opening this. I had thought that I had documented rpcTransport but it appears I haven't.

I believe something like this would work, replacing fetch with your instance of hpagent. LMK if that works, or if you run into any issues.

tatethurston added a commit that referenced this issue Aug 2, 2022
tatethurston added a commit that referenced this issue Aug 2, 2022
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

Successfully merging a pull request may close this issue.

2 participants