Skip to main content
TLSSocket.prototype.getTLSTicket - node__tls.d.ts - Node documentation
method TLSSocket.prototype.getTLSTicket

Usage in Deno

```typescript import { TLSSocket } from "node:node__tls.d.ts"; ```
TLSSocket.prototype.getTLSTicket(): Buffer | undefined
For a client, returns the TLS session ticket if one is available, or`undefined`. For a server, always returns `undefined`. It may be useful for debugging. See `Session Resumption` for more information.

Return Type

Buffer | undefined