Skip to main content
TLSSocket.prototype.getTLSTicket - tls - Node documentation
method TLSSocket.prototype.getTLSTicket

Usage in Deno

import { TLSSocket } from "node:tls";
TLSSocket.prototype.getTLSTicket(): Buffer | undefined

For a client, returns the TLS session ticket if one is available, orundefined. For a server, always returns undefined.

It may be useful for debugging.

See Session Resumption for more information.

Return Type

Buffer | undefined
Back to top