Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
XMLHttpRequest queues
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
LICENSE.txt
README.md
xhrq.js

README.md

xhrq.js - XMLHttpRequest queues.

xhrq.js is for those times when you're at a hackjam with 30 minutes left to go and your prototype is sending 1,000 requests/minute to the already overloaded API. It adds a single method, .queue( data ), to the XMLHttpRequest prototype that only allows 4 active requests at once. Otherwise, .queue() works exactly the same as .send().

Something went wrong with that request. Please try again.