"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".
Although original fetch response body is ReadableStream of Uint8Array, you can specify value of body in various type like just a string.
Generated using TypeDoc
Response object properties only for
fetch
.https://developer.mozilla.org/en-US/docs/Web/API/Response