Optional
cacheOptional
dataDefines the type of the request data.
Available types: post
, queryString
, json
, text
, arraybuffer
, blob
, document
, xml
or formdata
(default: post)
Optional
headersobject containing headers to be sent
Optional
ignoreif true the global ajaxErrorHandler
will not be triggered in case of an error (default: false)
Optional
passwordthe password to access to the URL, if needed
Optional
responseThe response type.
Available types: auto
, json
, xml
, text
, arraybuffer
, blob
or document
(default: auto
)
Note: use xml
to parse the response always as xml using the DOMParser. If document
is used the response will be parsed
as xml or as html by the browser depending on the content-type of the response.
Optional
retrydefines how many retry attempts will be performed in case of connection errors (default: 3)
Optional
timeoutthe timeout for the request in ms (default: 30000)
Optional
userthe user to access to the URL, if needed
Optional
withsends credentials with the XHR request (default: false)
Generated using TypeDoc
browser caching (default: true)