Note: This is not a real constructor, but just a description of the type of object that should be passed as
a parameter to some method(s), and/or the return value from some method(s).
In other words, the type exists only for documentation purposes, and you cannot call new xhr.__BaseOptions()
See the dojo/request/xhr.__BaseOptions reference documentation for more information.
How to handle the response from the server. Default is 'text'. Other values are 'json', 'javascript', and 'xml'.
Whether to make a synchronous request or not. Default
is false
(asynchronous).
Milliseconds to wait for the response. If this time passes, the then the promise is rejected.
For cross-site requests, whether to send credentials or not.