1
0
mirror of https://github.com/danog/byte-stream.git synced 2024-11-30 04:19:23 +01:00
Go to file
Aaron Piotrowski da357d1579
Proper fix for remote closed streams
Fixes #40. Streams on MacOS (and possibly FreeBSD) that are closed by the remote still allow writing, returning a non-zero from fwrite(). EOF then is false, since data was written to the buffer. EOF needed to be checked before calling fwrite().
2018-04-03 19:08:18 -05:00
docs Update docs nav 2018-03-13 10:32:38 -05:00
examples Remove Parser 2017-06-07 22:23:44 -05:00
lib Proper fix for remote closed streams 2018-04-03 19:08:18 -05:00
test Proper fix for remote closed streams 2018-04-03 19:08:18 -05:00
.editorconfig Fix editorconfig, add 7.2 to Travis, update shared 2017-10-07 10:32:29 +02:00
.gitattributes Initial commit 2016-08-10 16:52:25 -05:00
.gitignore Add tests, fix ResourceOutputStream writable check 2017-05-16 23:27:48 +02:00
.gitmodules Update to new shared docs repo 2017-09-27 13:56:06 +02:00
.php_cs.dist Rename Gzip*Stream to Zlib*Stream and allow different encodings 2017-05-14 14:40:32 +02:00
.travis.yml Use xdebug instead of phpdbg for coverage 2018-04-03 22:15:31 +02:00
composer.json Define target platform in composer.json and fix .travis.yml 2017-12-02 20:32:00 -06:00
LICENSE Update LICENSE year 2017-05-07 22:18:55 +02:00
Makefile Rename Gzip*Stream to Zlib*Stream and allow different encodings 2017-05-14 14:40:32 +02:00
phpunit.xml.dist Add Message tests 2017-04-13 09:05:37 -05:00
README.md Add banner to readme 2017-09-07 11:03:21 +02:00

byte-stream

amphp/byte-stream is a stream abstraction to make working with non-blocking I/O simple.

Installation

This package can be installed as a Composer dependency.

composer require amphp/byte-stream

Requirements

  • PHP 7.0+

Documentation

Documentation is bundled within this repository in the ./docs directory.

Versioning

amphp/byte-stream follows the semver semantic versioning specification like all other amphp packages.

Security

If you discover any security related issues, please email me@kelunik.com instead of using the issue tracker.

License

The MIT License (MIT). Please see LICENSE for more information.