The DP_AJAX library provides simple methods to manage multiple HTTP requests and XML responses.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitattributes
.gitignore
DP_AJAX.js
README.md

README.md

DP_AJAX

The DP_AJAX library provides simple methods to manage multiple HTTP requests and XML responses.

  • The library has a very small footprint (only two global objects are created).
  • Multiple (but still asynchronous) HTTP calls can be joined together and fire a single handler when complete.
  • Multiple request pools can be instantiated in the same application if required (for example a "fast" pool might be created for user interface interaction while a "slow" pool might be created for automated logging).
  • Supports both adding custom HTTP headers (needed for many web services) to requests and accessing returned headers.
  • Supports GET, POST and both SOAP 1.0 and 1.2 calls.
  • Highly configurable. The number of request objects in the pool, the interval at which the request queue is checked, the timeout and the number of retry attempts for requests are user-configurable on a per-instance basis.
  • Optional Debugging and logging via DP_Debug (if available).

This component requires a JavaScript (ECMAScript) 1.3 (or better) run-time environment and has been tested successfully on Internet Explorer 8+, Firefox 13+ and Google Chrome but should function on any modern browser.

Copyright (c) 1996-2013, The Depressed Press (depressedpress.com)
All rights reserved.
Covered under the BSD Open Source License (included in the code). Full legal information here: http://depressedpress.com/about/source-code-policy/