Skip to content

Commit 53f935e

Browse files
committed
Drop deprecated Server class, use HttpServer instead
1 parent d8c1aa4 commit 53f935e

File tree

4 files changed

+0
-43
lines changed

4 files changed

+0
-43
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -740,8 +740,6 @@ See also the [Unix Domain Sockets (UDS) example](examples/14-client-unix-domain-
740740

741741
### HttpServer
742742

743-
<a id="server"></a> <!-- legacy id -->
744-
745743
The `React\Http\HttpServer` class is responsible for handling incoming connections and then
746744
processing each incoming HTTP request.
747745

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

894-
> Changelog v1.5.0: This class has been renamed to `HttpServer` from the
895-
previous `Server` class in order to avoid any ambiguities.
896-
The previous name has been deprecated and should not be used anymore.
897-
898892
### listen()
899893

900894
The `listen(React\Socket\ServerInterface $socket): void` method can be used to

src/HttpServer.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,6 @@
167167
* have full control over consuming the incoming HTTP request body and
168168
* concurrency settings. See also [streaming incoming request](#streaming-incoming-request)
169169
* below for more details.
170-
*
171-
* > Changelog v1.5.0: This class has been renamed to `HttpServer` from the
172-
* previous `Server` class in order to avoid any ambiguities.
173-
* The previous name has been deprecated and should not be used anymore.
174170
*/
175171
final class HttpServer extends EventEmitter
176172
{

src/Server.php

Lines changed: 0 additions & 18 deletions
This file was deleted.

tests/ServerTest.php

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)