main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Line | |
---|
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 | In Node versions v18.13.0 and above and v19.2.0 and above, undici will default to using Node's [File](https://nodejs.org/api/buffer.html#class-file) class. In versions where it's not available, it will default to the undici one.
|
---|
12 |
|
---|
13 | ## FormData
|
---|
14 |
|
---|
15 | This API is implemented as per the standard, you can find documentation on [MDN](https://developer.mozilla.org/en-US/docs/Web/API/FormData)
|
---|
16 |
|
---|
17 | ## Response
|
---|
18 |
|
---|
19 | This API is implemented as per the standard, you can find documentation on [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Response)
|
---|
20 |
|
---|
21 | ## Request
|
---|
22 |
|
---|
23 | This API is implemented as per the standard, you can find documentation on [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Request)
|
---|
24 |
|
---|
25 | ## Header
|
---|
26 |
|
---|
27 | This API is implemented as per the standard, you can find documentation on [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Headers)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.