Skip to main content

setTicketKeys

method Server.prototype.setTicketKeys
Jump to headingServer.prototype.setTicketKeys(keys: Buffer): void

Sets the session ticket keys.

Changes to the ticket keys are effective only for future server connections. Existing or currently pending server connections will use the previous keys.

See Session Resumption for more information.

Parameters Jump to heading

Jump to headingkeys: Buffer

A 48-byte buffer containing the session ticket keys.

Return Type Jump to heading

void
Back to top