Skip to content

saymedia/batchhttp

Repository files navigation

batchhttp provides parallel fetching of HTTP resources through MIME multipart encoding.

This package's BatchClient applies standard MIME multipart encoding to HTTP messages, providing a standards-conservant technique for making parallelizable HTTP requests over a single proxy connection.

To make a batch request, open a new request on a BatchClient instance and add your subrequests, along with callbacks that will receive the subresponses. Once all parallelized requests are added, complete the request; the request is made and the batched subresponses are provided to your callbacks.

This is an implementation of the draft specification for batch HTTP request processing available at:

https://github.com/apparentlymart/http-batch-specs/blob/master/batchhttp.xml

This specification is now largely abandoned and this library is now primarily of historical interest only.

About

Parallel HTTP through MIME multipart encoding

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages