doc: add documentation for Lua function 'TlsGetVersion'

pull/3478/head
Mats Klepsland 8 years ago
parent 04e78ace0a
commit 4d38d0844b

@ -393,6 +393,22 @@ Initialize with:
return needs
end
TlsGetVersion
~~~~~~~~~~~~~
Get the negotiated version in a TLS session as a string through TlsGetVersion.
Example:
::
function log (args)
version = TlsGetVersion()
if version then
-- do something
end
end
TlsGetCertInfo
~~~~~~~~~~~~~~

Loading…
Cancel
Save