Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Server facade for existing server classes #97

Merged
merged 4 commits into from
Apr 28, 2017

Conversation

clue
Copy link
Member

@clue clue commented Apr 28, 2017

This is a follow-up PR to #96 which introduces a new Server class which acts as a facade for the existing server classes. This class allows to start a TcpServer and SecureServer as-is and will prepare the code for the upcoming Unix domain socket server (#25) and upcoming SecureServer with auto-generated certificates (#95). This works very similar to how the Connector class is a facade for the client side connector classes.

This also fixes the intentional BC break introduced in #96 so that consumer code does not have to be updated.

Builds on top of #96

@clue clue added this to the v0.8.0 milestone Apr 28, 2017
@WyriHaximus WyriHaximus requested review from jsor and WyriHaximus April 28, 2017 17:19
@WyriHaximus WyriHaximus merged commit af233a7 into reactphp:master Apr 28, 2017
@clue clue deleted the facade branch April 28, 2017 19:40
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.

3 participants