diff --git a/doc/api/tls.md b/doc/api/tls.md index 9b06fde493e6a2..48ce27412b9a37 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -629,6 +629,30 @@ Existing or currently pending server connections will use the previous keys. See [Session Resumption][] for more information. +### `server.getNumTickets()` + + +* Returns: {number} A number of session tickets. + +Returns the number of session tickets that are sent to the client after +a full handshake. + +See [SSL_CTX_get_num_tickets][] for more information. + +### `server.setNumTickets(numTickets)` + + +* `numTickets` {number} A number of session tickets. + +Sets the number of session tickets that are sent to the client after +a full handshake. + +See [SSL_CTX_set_num_tickets][] for more information. + ## Class: `tls.TLSSocket`