packagist clue/redis-react v1.2.0

latest releases: dev-main, v2.5.0, v2.4.0...
4 years ago
  • Feature: Support redis[s]:// URI scheme and deprecate legacy URIs
    (#60 by @clue)

    $factory->createClient('redis://:secret@localhost:6379/4');
    $factory->createClient('redis://localhost:6379?password=secret&db=4');
  • Feature: Factory accepts Connector from Socket and deprecate legacy SocketClient
    (#59 by @clue)

    If you need custom connector settings (DNS resolution, TLS parameters, timeouts,
    proxy servers etc.), you can explicitly pass a custom instance of the
    ConnectorInterface:

    $connector = new \React\Socket\Connector($loop, array(
        'dns' => '127.0.0.1',
        'tcp' => array(
            'bindto' => '192.168.10.1:0'
        ),
        'tls' => array(
            'verify_peer' => false,
            'verify_peer_name' => false
        )
    ));
    
    $factory = new Factory($loop, $connector);

Don't miss a new redis-react release

NewReleases is sending notifications on new releases.