server.setTicketKeys(keys)
-
keys
<Buffer> | <TypedArray> | <DataView> 包含会话票证密钥的 48 字节缓冲区。¥
keys
<Buffer> | <TypedArray> | <DataView> A 48-byte buffer containing the session ticket keys.
设置会话票证密钥。
¥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.