server.setTicketKeys(keys)
keys<Buffer> | <TypedArray> | <DataView> 一个包含会话票据密钥的 48 字节缓冲区。
设置会话票证密钥。
🌐 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.