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

Usage in Deno

import { TLSSocket } from "node:tls";
TLSSocket.prototype.disableRenegotiation(): void

Disables TLS renegotiation for this TLSSocket instance. Once called, attempts to renegotiate will trigger an 'error' event on the TLSSocket.

Return Type

void