0.0.6 • Published 7 years ago

parallelized_http v0.0.6

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

parallelized_http

Small wrapper around http requests to use the range header to parallelize http requests.

Example:

/* host, path, number of requests , byte size [,options] */

p_http.get("www.google.com","/",2,300,{})
	.then( (res) => {
		console.log(res);
		console.log(res.body.toString());
	})
	.catch( (err) => {
		console.error(err);
	});

res contains the last requests response object from node body contains the joined body

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago