cmullaparthi / ibrowse

Erlang HTTP client
Other
515 stars 191 forks source link

Added stream_full_chunks option #151

Closed p2k closed 7 years ago

p2k commented 7 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 7 years ago

Thanks for the pull request; merged.