| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 31d0459 commit e9fd10b
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -510,7 +510,7 @@ The implementation is based upon [undici](https://undici.nodejs.org), an HTTP/1. | |||
| 510 | 510 | written from scratch for Node.js. You can figure out which version of `undici` is bundled | |
| 511 | 511 | in your Node.js process reading the `process.versions.undici` property. | |
| 512 | 512 | ||
| 513 | - ## Custom dispatcher | ||
| 513 | + ### Custom dispatcher | ||
| 514 | 514 | ||
| 515 | 515 | You can use a custom dispatcher to dispatch requests passing it in fetch's options object. | |
| 516 | 516 | The dispatcher must be compatible with `undici`'s | |
@@ -529,7 +529,7 @@ import { setGlobalDispatcher } from 'undici'; | |||
| 529 | 529 | setGlobalDispatcher(new MyAgent()); | |
| 530 | 530 | ``` | |
| 531 | 531 | ||
| 532 | - ## Related classes | ||
| 532 | + ### Related classes | ||
| 533 | 533 | ||
| 534 | 534 | The following globals are available to use with `fetch`: | |
| 535 | 535 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments