1
0
mirror of https://github.com/danog/byte-stream.git synced 2024-11-30 04:19:23 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
Niklas Keller
d161589772 Apply PSR-2 2018-09-22 16:04:00 +02:00
Niklas Keller
5dffe33692 Throw correct PendingReadError for IteratorStream 2017-12-22 09:31:37 +01:00
Niklas Keller
c33c2bec61 Make InMemoryStream, IteratorStream and methods of Message final 2017-05-22 14:37:20 +02:00
Niklas Keller
6b369657a1 Reject non-strings in IteratorStream 2017-05-22 10:41:35 +02:00
Niklas Keller
71745c6105 Make Message accept an InputStream instead of an Iterator
The purpose of Message is to allow streaming and buffering of an
InputStream with a simple API. Before this commit, Message served a
second purpose: Converting an Amp\Iterator to an InputStream. This has
been separated to allow ZlibInputStream and other InputStreams to be
used as Message. Converting an Amp\Iterator to an InputStream is now
possible using the new IteratorStream class.
2017-05-14 16:40:42 +02:00
Aaron Piotrowski
11a92648d1 Revert IteratorStream name to Message 2017-05-10 18:20:34 -05:00
Aaron Piotrowski
abb7c9c6b5 Use back-pressure 2017-05-10 18:04:10 -05:00
Aaron Piotrowski
6241988750 Restore Message as IteratorStream 2017-05-07 22:10:16 +02:00