Constructordojo.__IoCallbackArgs

<script src="../../js/dojo.js"></script>
defined in dojo/_base/xhr.js

Usage

function (/*Object*/ args, xhr, /*String*/ url, /*String*/ query, /*String*/ handleAs, /*String*/ id, /*Boolean*/ canDelete, /*Object*/ json) (view source)
parametertypedescription
argsObjectthe original object argument to the IO call.
xhr For XMLHttpRequest calls only, the XMLHttpRequest object that was used for the request.
urlStringThe final URL used for the call. Many times it will be different than the original args.url value.
queryStringFor non-GET requests, the name1=value1&name2=value2 parameters sent up in the request.
handleAsStringThe final indicator on how the response will be handled.
idStringFor dojo.io.script calls only, the internal script ID used for the request.
canDeleteBooleanFor 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.
jsonObjectFor 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.

PropertiesBack to top

the original object argument to the IO call.
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.
The final indicator on how the response will be handled.
For dojo.io.script calls only, the internal script ID used for the request.
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.
For non-GET requests, the name1=value1&name2=value2 parameters sent up in the request.
The final URL used for the call. Many times it will be different than the original args.url value.
For XMLHttpRequest calls only, the XMLHttpRequest object that was used for the request.