dojo/_base/kernel.__IoCallbackArgs (version 1.10)

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 kernel.__IoCallbackArgs()

Property Summary

  • argsthe original object argument to the IO call.
  • canDeleteFor dojo/io/script calls only, indicates whether the script tag that represents the request can be deleted after callbacks have been called.
  • handleAsThe final indicator on how the response will be handled.
  • idFor dojo/io/script calls only, the internal script ID used for the request.
  • jsonFor dojo/io/script calls only: holds the JSON response for JSONP-type requests.
  • queryFor non-GET requests, the name1=value1&name2=value2 parameters sent up in the request.
  • urlThe final URL used for the call.
  • xhrFor XMLHttpRequest calls only, the XMLHttpRequest object that was used for the request.

Properties

args
Defined by: dojo/_base/xhr

the original object argument to the IO call.

canDelete
Defined by: dojo/_base/xhr

For dojo/io/script calls only, indicates whether the script tag that represents the request can be deleted after callbacks have been called. Used internally to know when cleanup can happen on JSONP-type requests.

handleAs
Defined by: dojo/_base/xhr

The final indicator on how the response will be handled.

id
Defined by: dojo/_base/xhr

For dojo/io/script calls only, the internal script ID used for the request.

json
Defined by: dojo/_base/xhr

For dojo/io/script calls only: holds the JSON response for JSONP-type requests. Used internally to hold on to the JSON responses. You should not need to access it directly -- the same object should be passed to the success callbacks directly.

query
Defined by: dojo/_base/xhr

For non-GET requests, the name1=value1&name2=value2 parameters sent up in the request.

url
Defined by: dojo/_base/xhr

The final URL used for the call. Many times it will be different than the original args.url value.

xhr
Defined by: dojo/_base/xhr

For XMLHttpRequest calls only, the XMLHttpRequest object that was used for the request.

Error in the documentation? Can’t find what you are looking for? Let us know!