I need to make fetch requests from an edge function, but i need programatic control at run time over using an http proxy. This works fine in the serverless functions where i can use node-fetch and https-proxy-agent, but I can’t seem to find any way to get fetch from Edge Functions / deno to use a proxy. The proxy must be set at run time for each request, it should not be set globally for the lifetime of the deno process.
Edge Functions support npm modules, so you can try using
node-fetch there as well.