Skip to content

Commit

Permalink
Minor updates to XHR/fetch references in Request
Browse files Browse the repository at this point in the history
  • Loading branch information
wbamberg committed Nov 16, 2023
1 parent 5f92d9c commit 513c772
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion files/en-us/web/api/request/destination/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,17 @@ A string which indicates the type of content the request is asking for. This typ
Possible values are:

- `""`
- : The default value of `destination` is used for destinations that do not have their own value. [navigator.sendBeacon()](/en-US/docs/Web/API/Navigator/sendBeacon), [EventSource](/en-US/docs/Web/API/EventSource), [\<a ping>](/en-US/docs/Web/HTML/Element/a#ping), [\<area ping>](/en-US/docs/Web/HTML/Element/area#ping), [fetch()](/en-US/docs/Web/API/fetch), [XMLHttpRequest](/en-US/docs/Web/API/XMLHttpRequest), [WebSocket](/en-US/docs/Web/API/WebSocket), [Cache](/en-US/docs/Web/API/Cache) and more.

- : The empty string is the default value, and is used for destinations that do not have their own value. This is the value when requests are made using the following APIs (among others):
- [`<a ping>`](/en-US/docs/Web/HTML/Element/a#ping)
- [`<area ping>`](/en-US/docs/Web/HTML/Element/area#ping)
- {{domxref("Cache")}}
- {{domxref("EventSource")}}
- {{domxref("fetch()")}}
- {{domxref("navigator.sendBeacon()")}}
- {{domxref("WebSocket")}}
- {{domxref("XMLHttpRequest")}}

- `"audio"`
- : The target is audio data.
- `"audioworklet"`
Expand Down

0 comments on commit 513c772

Please sign in to comment.