Skip to content

Commit

Permalink
Merge pull request #528 from clue-labs/drop-server
Browse files Browse the repository at this point in the history
Drop deprecated `Server` class, use `HttpServer` instead
  • Loading branch information
WyriHaximus authored May 24, 2024
2 parents d8c1aa4 + 53f935e commit 170547b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 43 deletions.
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.

0 comments on commit 170547b

Please sign in to comment.