Skip to content

Commit 88a6cf2

Browse files
aduh95marco-ippolito
authored andcommitted
doc: fix fetch subsections in globals.md
PR-URL: #58933 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
1 parent 6a44459 commit 88a6cf2

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
@@ -510,7 +510,7 @@ The implementation is based upon [undici](https://undici.nodejs.org), an HTTP/1.
510510
written from scratch for Node.js. You can figure out which version of `undici` is bundled
511511
in your Node.js process reading the `process.versions.undici` property.
512512

513-
## Custom dispatcher
513+
### Custom dispatcher
514514

515515
You can use a custom dispatcher to dispatch requests passing it in fetch's options object.
516516
The dispatcher must be compatible with `undici`'s
@@ -529,7 +529,7 @@ import { setGlobalDispatcher } from 'undici';
529529
setGlobalDispatcher(new MyAgent());
530530
```
531531

532-
## Related classes
532+
### Related classes
533533

534534
The following globals are available to use with `fetch`:
535535

0 commit comments

Comments
 (0)