



@deftypefun {void} {gnutls_heartbeat_enable} (gnutls_session_t @var{session}, unsigned int @var{type})
@var{session}: is a @code{gnutls_session_t}  structure.

@var{type}: one of the GNUTLS_HB_* flags

This function will allow heartbeat messages to be
received.

@strong{Since:} 3.1.2
@end deftypefun
