cmullaparthi / ibrowse

Erlang HTTP client
Other
516 stars 190 forks source link

Added stream_full_chunks option #151

Closed p2k closed 8 years ago

p2k commented 8 years ago

With this option, the process given by stream_to will get a message with chunk data each fully received chunk; stream_chunk_size is set to infinity for this. This is useful for certain applications that stream live data with each unit being represented by a single chunk; one example is CouchDB's continuous changes feed.

cmullaparthi commented 8 years ago

Thanks for the pull request; merged.