+function skip_http2_test($message = "skip need http2 support") {
+ if (!defined("http\\Client\\Curl\\HTTP_VERSION_2_0")) {
+ die("$message (HTTP_VERSION_2_0)\n");
+ }
+ if (!(http\Client\Curl\FEATURES & http\Client\Curl\Features\HTTP2)) {
+ die("$message (FEATURES & HTTP2)\n");
+ }