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
I need to call Graph API through a corporate proxy, but I found no mean to pass options to the underlying fetch() library, in order to specify the proxy URL or a custom HTTP(S) agent.
I think it would be great to provide a way to pass options to fetch(), so it will solve any issue about proxy, timeout or any environment-specific needs.
Activity
muthurathinam commentedon Aug 22, 2018
Jérome Morino (@jmorino) Good one. Will implement a way to pass in the options for fetch.
862171
jmorino commentedon Aug 22, 2018
thanks Muthurathinam (@muthurathinam) !
In the meantime, here is my workaround if it can help someone: I just extend the globally-exposed Request class and set a custom HTTPS agent.
muthurathinam commentedon Sep 22, 2018
Fixed in this PR and released.