W3cubDocs

/Dojo

dojo/request/node.__BaseOptions

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 node.__BaseOptions()

See the dojo/request/node.__BaseOptions reference documentation for more information.

Properties

data

Defined by: dojo/request/node

Data to transfer. This is ignored for GET and DELETE requests.

handleAs

Defined by: dojo/request

How to handle the response from the server. Default is 'text'. Other values are 'json', 'javascript', and 'xml'.

headers

Defined by: dojo/request/node

Headers to use for the request.

password

Defined by: dojo/request/node

Password to use during the request.

preventCache

Defined by: dojo/request

Whether to append a cache-busting parameter to the URL.

query

Defined by: dojo/request

Query parameters to append to the URL.

timeout

Defined by: dojo/request

Milliseconds to wait for the response. If this time passes, the then the promise is rejected.

user

Defined by: dojo/request/node

Username to use during the request.

© 2005–2017 JS Foundation
Licensed under the AFL 2.1 and BSD 3-Clause licenses.
http://dojotoolkit.org/api/1.10/dojo/request/node.__BaseOptions.html