-
-
Notifications
You must be signed in to change notification settings - Fork 685
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
I apologize if this has already been implemented or issue created, but I could not find this usage in the documentation.
This would solve...
I would like to specify a proxy for each fetch run.
The implementation should look like...
Deno implements as follows PR:
denoland/deno#10907
In undici, it would become as follows...?
import { ProxyAgent } from 'undici';
const client = new ProxyAgent('localhost:3000');
const response = await fetch("https://myserver.com", { client });(Is ProxyAgent better than Client?)
pimterry, yaroslav-ilin, silverwind, creeep123 and aow3xm
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request