"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.
BodyInit: Blob | BufferSource | FormData | URLSearchParams | ReadableStream<Uint8Array> | string
Key-value pairs of a header.
Generated using TypeDoc
General response object whose properties is common in both XMLHttpRequest and fetch.