"xhr" or "fetch".
When a request is generated by XMLHttpRequest
, then ajaxType is "xhr".
When a request is generated by window.fetch
, then ajaxType is "fetch".
A request body to be sent with method like POST
, PUT
and so on.
body
can be various type like string, FormData, Document, Blob, URLSearchParams and so on.
Key-value pairs of a header.
timeout
is only used by XMLHttpRequest.
Generated using TypeDoc
Request object properties only for
fetch
.https://developer.mozilla.org/en-US/docs/Web/API/Request