



@deftypefun {void} {gnutls_handshake_set_secret_function} (gnutls_session_t @var{session}, gnutls_handshake_secret_func @var{func})
@var{session}: is a @code{gnutls_session_t}  type.

@var{func}: the secret func

This function will set a callback to be called when a new traffic
secret is installed.

@strong{Since:} 3.7.0
@end deftypefun
