Skip to main content
TLSSocket.prototype.encrypted - tls - Node documentation
property TLSSocket.prototype.encrypted

Usage in Deno

import { TLSSocket } from "node:tls";

Always returns true. This may be used to distinguish TLS sockets from regularnet.Socket instances.

Type

true