Proxy support
ziofat opened this issue · 5 comments
Hi, my service are running behind a firewall which require a proxy to access configure file. Node SDK seems not able to send request over proxy.
Hi there,
Adding proxy support to our SDKs is on our roadmap for this year.
We have already implemented it in the .NET SDK:
Repo: https://github.com/configcat/.net-sdk
Related docs: https://configcat.com/docs/sdk-reference/csharp/#using-configcat-behind-a-proxy
Also we welcome contributions and happy to help and provide all the necessary info to do that.
That will be hard to implement proxy support with ky
as http client. The ky
's author has another package called got
for nodejs which has proxy support.
Is that OK for you to replace ky
with another http client?
I don't see a reason why not. I have added ky
to support SSR (server side rendering) applications and Node in the same time. If got
fulfills this as well then it is OK to replace.
I am not sure got
can support SSR or not. It might do if not using Stream related functions. I will try to make a PR and let you test with it.
Thanks for the PR. :)
It will take some time for us to test if it works well in all usecases.