Skip to content

v0.6.0

Compare
Choose a tag to compare
@clue clue released this 04 Apr 15:41
· 559 commits to 3.x since this release
  • Feature: Add LimitingServer to limit and keep track of open connections
    (#86 by @clue)

    $server = new Server(0, $loop);
    $server = new LimitingServer($server, 100);
    
    $server->on('connection', function (ConnectionInterface $connection) {
        $connection->write('hello there!' . PHP_EOL);
        …
    });
  • Feature / BC break: Add pause() and resume() methods to limit active
    connections
    (#84 by @clue)

    $server = new Server(0, $loop);
    $server->pause();
    
    $loop->addTimer(1.0, function() use ($server) {
        $server->resume();
    });
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy