Skip to content

Conversation

@clue
Copy link
Member

@clue clue commented May 19, 2017

The Request is a WritableStreamInterface and now obeys its method and event semantics.
The Response is a ReadableStreamInterface and now obeys its method and event semantics.

Resolves / closes #70
Supersedes / closes #83
Builds on top of / closes #87 (thanks @maciejmrozinski!)

@WyriHaximus WyriHaximus merged commit 510041f into reactphp:master May 19, 2017
@clue clue deleted the stream branch May 19, 2017 12:44
@Fneufneu
Copy link

I'm a bit late but you forget to update README.

$response->on('data', function ($data, $response) {

should be

$response->on('data', function ($data) {

@WyriHaximus
Copy link
Member

Feel free to open a PR fixing this 👍

@clue
Copy link
Member Author

clue commented Jun 16, 2017

@Fneufneu Thanks for spotting, fixed via #97 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unclear event semantics

4 participants