Skip to content

Automatically register stream filters #16

@sagikazarmark

Description

@sagikazarmark

Currently filters are registered upon access to a Chunk/Dechunk stream:

https://github.com/php-http/message/blob/master/src/Encoding/ChunkStream.php#L17

As I can see some of the filters (chunk, dechunk) are implemented in the package for BC reasons (for example HHVM does not have chunk/dechunk filters).

Should we register these classes as stream filters automatically (eg. using composer autoloading)?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions