mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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:
1 parent
546e0e70a1
commit
03e9c738f3
1 file changed
+1
-1
+1
-1
@@ -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() });
|
||||
|
||||
Reference in new issue
Block a user