v1.8.0
版本发布时间: 2021-07-11 20:50:57
reactphp/socket最新发布版本:v1.16.0(2024-07-26 18:39:34)
A major new feature release, see release announcement.
-
Feature: Simplify usage by supporting new default loop. (#260 by @clue)
// old (still supported) $socket = new React\Socket\Server('127.0.0.1:8080', $loop); $connector = new React\Socket\Connector($loop); // new (using default loop) $socket = new React\Socket\Server('127.0.0.1:8080'); $connector = new React\Socket\Connector();