"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.
Http method like GET
, POST
and so on.
timeout
is only used by XMLHttpRequest.
Request url to send request.
Generated using TypeDoc
Request object properties only for XMLHttpRequest.
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/XMLHttpRequest