Aerys\Vhost::hasAlpnSupport PHP Method

hasAlpnSupport() private static method

See also: https://wiki.openssl.org/index.php/Manual:OPENSSL_VERSION_NUMBER(3)
private static hasAlpnSupport ( ) : boolean
return boolean
    private static function hasAlpnSupport() : bool
    {
        if (!defined("OPENSSL_VERSION_NUMBER")) {
            return false;
        }
        return \OPENSSL_VERSION_NUMBER >= 0x10002000;
    }