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

Usage in Deno

```typescript import { TLSSocket } from "node:node__tls.d.ts"; ```
TLSSocket.prototype.emit(
event: string | symbol,
...args: any[],
): boolean

Parameters

event: string | symbol
...args: any[]

Return Type

boolean
TLSSocket.prototype.emit(
event: "OCSPResponse",
response: Buffer,
): boolean

Parameters

event: "OCSPResponse"
response: Buffer

Return Type

boolean
TLSSocket.prototype.emit(event: "secureConnect"): boolean

Parameters

event: "secureConnect"

Return Type

boolean
TLSSocket.prototype.emit(
event: "session",
session: Buffer,
): boolean

Parameters

event: "session"
session: Buffer

Return Type

boolean
TLSSocket.prototype.emit(
event: "keylog",
line: Buffer,
): boolean

Parameters

event: "keylog"
line: Buffer

Return Type

boolean