v0.8.0
版本发布时间: 2017-05-09 19:29:06
reactphp/socket最新发布版本:v1.16.0(2024-07-26 18:39:34)
-
Feature: New
Server
class now acts as a facade for existing server classes and renamed oldServer
toTcpServer
for advanced usage. (#96 and #97 by @clue)The
Server
class is now the main class in this package that implements theServerInterface
and allows you to accept incoming streaming connections, such as plaintext TCP/IP or secure TLS connection streams.This is not a BC break and consumer code does not have to be updated.
-
Feature / BC break: All addresses are now URIs that include the URI scheme (#98 by @clue)
- $parts = parse_url('tcp://' . $conn->getRemoteAddress()); + $parts = parse_url($conn->getRemoteAddress());
-
Fix: Fix
unix://
addresses for Unix domain socket (UDS) paths (#100 by @clue) -
Feature: Forward compatibility with Stream v1.0 and v0.7 (#99 by @clue)