



@deftypefun {gnutls_protocol_t} {gnutls_protocol_get_version} (gnutls_session_t @var{session})
@var{session}: is a @code{gnutls_session_t}  structure.

Get TLS version, a @code{gnutls_protocol_t}  value.

@strong{Returns:} The version of the currently used protocol.
@end deftypefun
