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

Drop deprecated Server class, use HttpServer instead #528

Merged
merged 1 commit into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -740,8 +740,6 @@ See also the [Unix Domain Sockets (UDS) example](examples/14-client-unix-domain-

### HttpServer

<a id="server"></a> <!-- legacy id -->

The `React\Http\HttpServer` class is responsible for handling incoming connections and then
processing each incoming HTTP request.

Expand Down Expand Up @@ -891,10 +889,6 @@ have full control over consuming the incoming HTTP request body and
concurrency settings. See also [streaming incoming request](#streaming-incoming-request)
below for more details.

> Changelog v1.5.0: This class has been renamed to `HttpServer` from the
previous `Server` class in order to avoid any ambiguities.
The previous name has been deprecated and should not be used anymore.

### listen()

The `listen(React\Socket\ServerInterface $socket): void` method can be used to
Expand Down
4 changes: 0 additions & 4 deletions src/HttpServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,6 @@
* have full control over consuming the incoming HTTP request body and
* concurrency settings. See also [streaming incoming request](#streaming-incoming-request)
* below for more details.
*
* > Changelog v1.5.0: This class has been renamed to `HttpServer` from the
* previous `Server` class in order to avoid any ambiguities.
* The previous name has been deprecated and should not be used anymore.
*/
final class HttpServer extends EventEmitter
{
Expand Down
18 changes: 0 additions & 18 deletions src/Server.php

This file was deleted.

15 changes: 0 additions & 15 deletions tests/ServerTest.php

This file was deleted.