Skip to content
instance method

OpenSSL::SSL::SSLSocket#npn_protocol

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

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

See also #hostname= #peer_cert #group #peer_cert_chain also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0