dojox.io.xhrPlugins

Status:Draft
Version:1.0
Project owner:Kris Zyp
Available:since V1.2

dojox.io.xhrPlugins provides a registry of alternate transports that can be used to provide dojo.xhr functionality with cross-site requests.

Introduction

Traditionally, XHR can only be used for same-origin requests. Alternate techniques are generally necessary for cross-site requests. dojox.io.xhrPlugins provides a means for registering server support for different transports so dojo.xhr can still be used for cross-site requests to maintain consistent call-site syntax.

Usage

TODO: how to use the component/class/method

1
2
3
<script type="text/javascript">
  // your code
</script>

Examples

Programmatic example

TODO: example

Declarative example

TODO: example

See also

  • Tutorial Cross-Site XHR Plugin Registry