Server.prototype.setTicketKeys - Node documentation
method Server.prototype.setTicketKeys

Usage in Deno

import { Server } from "node:tls";
Server.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

keys: Buffer

A 48-byte buffer containing the session ticket keys.

Return Type

void