Whether the OpenSSL library has built-in support for the *Application-Layer
Protocol Negotiation* TLS extension as described in :rfc:`7301`.
- .. versionadded:: 3.5
+ .. versionadded:: 2.7.10
.. data:: HAS_ECDH
not support ALPN, or if the handshake has not happened yet, ``None`` is
returned.
- .. versionadded:: 3.5
+ .. versionadded:: 2.7.10
.. method:: SSLSocket.selected_npn_protocol()
This method will raise :exc:`NotImplementedError` if :data:`HAS_ALPN` is
False.
- .. versionadded:: 3.5
+ .. versionadded:: 2.7.10
.. method:: SSLContext.set_npn_protocols(protocols)