Skip to content

Commit c2f9735

Browse files
committed
doc: fix fetch subsections in globals.md
PR-URL: #58933 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Ulises Gascón <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Chemi Atlow <[email protected]>
1 parent 5f4c7a9 commit c2f9735

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/globals.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ The implementation is based upon [undici](https://undici.nodejs.org), an HTTP/1.
548548
written from scratch for Node.js. You can figure out which version of `undici` is bundled
549549
in your Node.js process reading the `process.versions.undici` property.
550550

551-
## Custom dispatcher
551+
### Custom dispatcher
552552

553553
You can use a custom dispatcher to dispatch requests passing it in fetch's options object.
554554
The dispatcher must be compatible with `undici`'s
@@ -567,7 +567,7 @@ import { setGlobalDispatcher } from 'undici';
567567
setGlobalDispatcher(new MyAgent());
568568
```
569569

570-
## Related classes
570+
### Related classes
571571

572572
The following globals are available to use with `fetch`:
573573

0 commit comments

Comments
 (0)