diff options
Diffstat (limited to 'doc/functions/gnutls_session_ticket_send')
-rw-r--r-- | doc/functions/gnutls_session_ticket_send | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/functions/gnutls_session_ticket_send b/doc/functions/gnutls_session_ticket_send new file mode 100644 index 0000000..7393613 --- /dev/null +++ b/doc/functions/gnutls_session_ticket_send @@ -0,0 +1,17 @@ + + + + +@deftypefun {int} {gnutls_session_ticket_send} (gnutls_session_t @var{session}, unsigned @var{nr}, unsigned @var{flags}) +@var{session}: is a @code{gnutls_session_t} type. + +@var{nr}: the number of tickets to send + +@var{flags}: must be zero + +Sends a fresh session ticket to the peer. This is relevant only +in server side under TLS1.3. This function may also return @code{GNUTLS_E_AGAIN} +or @code{GNUTLS_E_INTERRUPTED} and in that case it must be called again. + +@strong{Returns:} @code{GNUTLS_E_SUCCESS} on success, or a negative error code. +@end deftypefun |