Wrapped Request with receiving of data in binary format.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
.gitignore
ByteStream.js
README.md
Request.Binary.js
license

README.md

Request.Binary

With Request.Binary you can download files in binary format through an AJAX (XHR) call. It requires Mootools and is tested with v1.2.3.

Syntax

var req = new Request.Binary({url: 'demo.jpg'});

Options

range - (array[2]) Startbit and endbit of the sequenz to download (can be used to download a file in more than one steps)

acceptRanges - (boolean) Try to perform a HTTP range request

for more information about options and usage see:

Mootools Class: Request

License

See license file.