doc: update a Dispatcher undici doc link

Signed-off-by: Filip Skokan <panva.ip@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/64358
Refs: https://github.com/nodejs/undici-website/pull/7
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
Filip Skokan authored and RafaelGSS committed 2026-07-29 10:31:29 -03:00
1 parent 546e0e70a1
commit 03e9c738f3
1 file changed
+1 -1
+1 -1
View File
@@ -571,7 +571,7 @@ in your Node.js process reading the `process.versions.undici` property.
You can use a custom dispatcher to dispatch requests passing it in fetch's options object.
The dispatcher must be compatible with `undici`'s
[`Dispatcher` class](https://undici.nodejs.org/#/docs/api/Dispatcher.md).
[`Dispatcher` class](https://undici.nodejs.org/api/Dispatcher).
```js
fetch(url, { dispatcher: new MyAgent() });