gitbeaker
gitbeaker copied to clipboard
Http Proxy?
Description Can we pass a proxy to a Gitbeaker api client?
I've seen this issue https://github.com/jdalrymple/gitbeaker/issues/2014 and this PR: https://github.com/jdalrymple/gitbeaker/pull/2482 but it's not completely clear if it's feasible or not.
Thank you
Checklist
- [x] I have checked that this is not a duplicate issue.
- [x] I have read the documentation.
Currently I'm unsure. With the switch to the native fetch lib for all the requests, im not sure how it handles proxying. I asked that question on the PR proposed but didnt receive a response.
Did some digging, its a feature thats in the works! https://github.com/nodejs/node/issues/43187
The underlying logic does support it, but the node impl doesnt expose this. I think they mention a work around, though it seems a bit hacky haha. BUT! There are these changes that do look promising and might be released soon with a much nicer impl.