process.features.tls_alpn


稳定性: 0 - 已弃用。请改用 process.features.tls

如果当前的 Node.js 构建包含对 TLS 中 ALPN 的支持,则布尔值为 true

【A boolean value that is true if the current Node.js build includes support for ALPN in TLS.】

在 Node.js 11.0.0 及更高版本中,OpenSSL 依赖具备无条件的 ALPN 支持。因此,该值与 process.features.tls 的值相同。

【In Node.js 11.0.0 and later versions, the OpenSSL dependencies feature unconditional ALPN support. This value is therefore identical to that of process.features.tls.】