Skip to main content
TLSSocketOptions - tls - Node documentation
interface TLSSocketOptions

Usage in Deno

import { type TLSSocketOptions } from "node:tls";

Properties

optional
isServer: boolean | undefined

If true the TLS socket will be instantiated in server-mode. Defaults to false.

optional
server: net.Server | undefined

An optional net.Server instance.

optional
session: Buffer | undefined

An optional Buffer instance containing a TLS session.

optional
requestOCSP: boolean | undefined

If true, specifies that the OCSP status request extension will be added to the client hello and an 'OCSPResponse' event will be emitted on the socket before establishing a secure communication

Back to top