Skip to content
instance method

OpenSSL::SSL::SSLSocket#alpn_protocol

() -> ::String?
ssl.alpn_protocol => String | nil

Returns the ALPN protocol string that was finally selected by the server during the handshake.

See also #accept_nonblock #cert #accept #cipher also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0