Skip to content

Commit

Permalink
Merge pull request #314 from clue-labs/drop-server
Browse files Browse the repository at this point in the history
Drop deprecated `Server` class, use `SocketServer` instead
  • Loading branch information
WyriHaximus authored May 23, 2024
2 parents d454a1e + 3edb7b4 commit 874deeb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 355 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,6 @@ Calling this method more than once on the same instance is a NO-OP.

### SocketServer

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

The `SocketServer` class is the main class in this package that implements the
[`ServerInterface`](#serverinterface) and allows you to accept incoming
streaming connections, such as plaintext TCP/IP or secure TLS connection streams.
Expand Down Expand Up @@ -519,10 +517,6 @@ given event loop instance.
If you want to typehint in your higher-level protocol implementation, you SHOULD
use the generic [`ServerInterface`](#serverinterface) instead.

> Changelog v1.9.0: This class has been added with an improved constructor signature
as a replacement for the previous `Server` class in order to avoid any ambiguities.
The previous name has been deprecated and should not be used anymore.

### Advanced server usage

#### TcpServer
Expand Down
114 changes: 0 additions & 114 deletions src/Server.php

This file was deleted.

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

This file was deleted.

0 comments on commit 874deeb

Please sign in to comment.