1gnutls_heartbeat_enable(3)          gnutls          gnutls_heartbeat_enable(3)
2
3
4

NAME

6       gnutls_heartbeat_enable - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       void  gnutls_heartbeat_enable(gnutls_session_t  session,  unsigned  int
12       type);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t type.
17
18       unsigned int type
19                   one of the GNUTLS_HB_* flags
20

DESCRIPTION

22       If this function is called with the GNUTLS_HB_PEER_ALLOWED_TO_SEND
23        type , GnuTLS will allow heartbeat messages to be  received.  Moreover
24       it  also  request  the peer to accept heartbeat messages. This function
25       must be called prior to TLS handshake.
26
27       If the  type used is  GNUTLS_HB_LOCAL_ALLOWED_TO_SEND,  then  the  peer
28       will be asked to accept heartbeat messages but not send ones.
29
30       The  function  gnutls_heartbeat_allowed()  can  be used to test Whether
31       locally generated heartbeat messages can be accepted by the peer.
32

SINCE

34       3.1.2
35

REPORTING BUGS

37       Report bugs to <bugs@gnutls.org>.
38       Home page: https://www.gnutls.org
39
40
42       Copyright © 2001-2020 Free Software Foundation, Inc., and others.
43       Copying and distribution of this file, with  or  without  modification,
44       are  permitted  in  any  medium  without royalty provided the copyright
45       notice and this notice are preserved.
46

SEE ALSO

48       The full documentation for gnutls is maintained as  a  Texinfo  manual.
49       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
50       visit
51
52       https://www.gnutls.org/manual/
53
54gnutls                              3.6.13          gnutls_heartbeat_enable(3)
Impressum