Unleash / unleash-client-node

Unleash client SDK for Node.js
https://docs.getunleash.io
Apache License 2.0
210 stars 71 forks source link

feat: http and https proxy support #638

Closed kwasniew closed 2 months ago

kwasniew commented 2 months ago

About the changes

Support for HTTP_PROXY and HTTPS_PROXY

E.g. If you have a proxy at http://localhost:8081 pointing to your Unleash API URL run your app that contains the Node SDK with: HTTP_PROXY=http://localhost:8081 node my_app.js

Design decision:

Can be tested locally with https://github.com/kwasniew/proxy-server

Important files

Discussion points

coveralls commented 2 months ago

Coverage Status

coverage: 90.784% (-0.05%) from 90.834% when pulling e000d742739421bfca6763831a0b41cefa6e8d38 on http-https-proxy-support into 279cd2ef3bd5b2da0c647befb465705b9ca8e57b on main.