You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So maybe we can set http/https proxy settings in option from NotifmeSdk or read from environment variables like http_proxy and https_proxy, then all providers just read this option and pass it to node-fetch.
@KeanuPang
Thanks, I'm glad to hear that.
If I may ask, could you tell me how you use this lib? (context, providers...) It's useful to know in order to improve it ;)
In node-fetch, we can pass a
http.Agent
with custom proxy settings in options with node-https-proxy-agent.So maybe we can set http/https proxy settings in option from NotifmeSdk or read from environment variables like http_proxy and https_proxy, then all providers just read this option and pass it to
node-fetch
.ref:
node-fetch/node-fetch#79
node-fetch/node-fetch#195
The text was updated successfully, but these errors were encountered: