Skip to content

Conversation

@clue
Copy link
Member

@clueclue commented Nov 13, 2016

Make sure the ConnectionInterface actually extends the DuplexStreamInterface introduced with react/stream v0.4.2. Thus, the main difference here is this:

-interface ConnectionInterface extends ReadableStreamInterface, WritableStreamInterface+interface ConnectionInterface extends DuplexStreamInterface

Note that this is not a BC break because the DuplexStreamInterface actually extends both ReadableStreamInterface and WritableStreamInterface.

Also update the documentation to emphasize this is the main interface that is to be used to represent incoming connections.

clue added a commit to clue-labs/socket that referenced this pull request Nov 13, 2016
@clueclue modified the milestone: v0.4.4Nov 15, 2016
@clueclue mentioned this pull request Nov 15, 2016
@clueclue merged commit bf7b31e into reactphp:masterDec 19, 2016
@clueclue deleted the connectioninterface branch December 19, 2016 22:24
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@clue@jsor@WyriHaximus