--TEST-- client http2 --SKIPIF-- --FILE-- setOptions([ "protocol" => http\Client\Curl\HTTP_VERSION_2_0, "ssl" => [ "cainfo" => __DIR__."/helper/http2.crt", ] ]); $client->enqueue(new http\Client\Request("GET", "https://localhost:$port")); echo $client->send()->getResponse(); }); ?> ===DONE=== --EXPECTF-- Test HTTP/2.0 200 %a HTTP2 Nothing to see here. ===DONE===