Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

OpenSSL::SSL::SSLSocket#npn_protocol

ssl.npn_protocol => String | nil

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