2017 © Pedro Peláez
 

library bullet-chunks

Response type for the bulletphp framework implementing chunked encoding

image

netom/bullet-chunks

Response type for the bulletphp framework implementing chunked encoding

  • Tuesday, April 21, 2015
  • by netom
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2,798 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Bullet-Chunks

Build Status, (*1)

Bullet-Chunks is a Response class for the Bullet PHP framework., (*2)

It helps reducing the memory/disk footprint and the response time of Bullet PHP pages or API endpoints where lot of data needs to be returned., (*3)

Often such data is read from a database as a list of records, or from a file as binary chunks of lines., (*4)

If a Traversable (or similarly foreach-able) class can be (or already is) wrapped around the data where it isn't fetched at once, but record-by-record or line-by-line, this response object can emit the HTTP response as the data arrives, without loading all of it into a large memory buffer or temporary file., (*5)

As a result, the browser or API client will start receiving the data as the first item arrives, and the memory footprint won't depend on the amount of data being transferred., (*6)

Chunked encoding

Installation

Usage

Running the tests

The Versions

21/04 2015

dev-master

9999999-dev http://github.com/netom/bullet-chunks

Response type for the bulletphp framework implementing chunked encoding

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

http response encoding chunked bullet

21/04 2015

1.0.1

1.0.1.0 http://github.com/netom/bullet-chunks

Response type for the bulletphp framework implementing chunked encoding

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

http response encoding chunked bullet

04/04 2015

1.0.0

1.0.0.0 http://github.com/netom/bullet-chunks

Response type for the bulletphp framework implementing chunked encoding

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

http response encoding chunked bullet