11 include "helper/server.inc";
15 server("pipeline.inc", function($port, $stdin) {
18 $request = new http\Client\Request("GET", "http://localhost:$port");
20 $client = new http\Client();
21 $client->configure(array("pipelining" => true, "use_eventloop" => true));
23 $client->enqueue($request);
26 $client->enqueue(clone $request);
27 $client->enqueue(clone $request);
31 while ($client->getResponse()) {