dojo.__IoCallbackArgs
<script src="../../js/dojo.js"></script>
defined in dojo/_base/xhr.js
Usage
parameter | type | description |
---|---|---|
args | Object | the original object argument to the IO call. |
xhr | For XMLHttpRequest calls only, the XMLHttpRequest object that was used for the request. | |
url | String | The final URL used for the call. Many times it will be different than the original args.url value. |
query | String | For non-GET requests, the name1=value1&name2=value2 parameters sent up in the request. |
handleAs | String | The final indicator on how the response will be handled. |
id | String | For dojo.io.script calls only, the internal script ID used for the request. |
canDelete | Boolean | 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. |
json | Object | 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. |
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.