Skip to main content
method TLSSocket.prototype.emit
TLSSocket.prototype.emit(
event: string | symbol,
...args: any[],
): boolean
Deprecated

Parameters

event: string | symbol
<span>...args</span>: any[]

Return Type

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

Parameters

event: "OCSPResponse"
response: Buffer

Return Type

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

Parameters

event: "secureConnect"

Return Type

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

Parameters

event: "session"
session: Buffer

Return Type

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

Parameters

event: "keylog"
line: Buffer

Return Type

boolean
Back to top