Skip to content

v1.8.0

Compare
Choose a tag to compare
@clue clue released this 11 Jul 12:50

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();