Skip to main content
TLSSocketOptions - node__tls.d.ts - Node documentation
interface TLSSocketOptions

Usage in Deno

```typescript import { type TLSSocketOptions } from "node:node__tls.d.ts"; ```

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