Skip to content

Commit 860c261

Browse files
KhafraDevVedanthB
andauthored
docs: add basic fetch & company docs (nodejs#1810)
Co-authored-by: vedanth bora <[email protected]>
1 parent 585cdf6 commit 860c261

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

docs/api/Fetch.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Fetch
2+
3+
Undici exposes a fetch() method starts the process of fetching a resource from the network.
4+
5+
Documentation and examples can be found on [MDN](https://developer.mozilla.org/en-US/docs/Web/API/fetch).
6+
7+
## File
8+
9+
This API is implemented as per the standard, you can find documentation on [MDN](https://developer.mozilla.org/en-US/docs/Web/API/File)
10+
11+
## FormData
12+
13+
This API is implemented as per the standard, you can find documentation on [MDN](https://developer.mozilla.org/en-US/docs/Web/API/FormData)
14+
15+
## Response
16+
17+
This API is implemented as per the standard, you can find documentation on [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Response)
18+
19+
## Request
20+
21+
This API is implemented as per the standard, you can find documentation on [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Request)
22+
23+
## Header
24+
25+
This API is implemented as per the standard, you can find documentation on [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Headers)

docsify/sidebar.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* [ProxyAgent](/docs/api/ProxyAgent.md "Undici API - ProxyAgent")
1111
* [Connector](/docs/api/Connector.md "Custom connector")
1212
* [Errors](/docs/api/Errors.md "Undici API - Errors")
13+
* [Fetch](/docs/api/Fetch.md "Undici API - Fetch")
1314
* [MockClient](/docs/api/MockClient.md "Undici API - MockClient")
1415
* [MockPool](/docs/api/MockPool.md "Undici API - MockPool")
1516
* [MockAgent](/docs/api/MockAgent.md "Undici API - MockAgent")

0 commit comments

Comments
 (0)