Skip to main content

emit

method Server.prototype.emit
Jump to headingServer.prototype.emit(
event: string | symbol,
...args: any[],
): boolean

Parameters Jump to heading

Jump to headingevent: string | symbol
Jump to heading<span>...args</span>: any[]

Return Type Jump to heading

boolean
Jump to headingServer.prototype.emit(
event: "tlsClientError",
err: Error,
tlsSocket: TLSSocket,
): boolean

Parameters Jump to heading

Jump to headingevent: "tlsClientError"

Return Type Jump to heading

boolean
Jump to headingServer.prototype.emit(
event: "newSession",
sessionId: Buffer,
sessionData: Buffer,
callback: () => void,
): boolean

Parameters Jump to heading

Jump to headingevent: "newSession"
Jump to headingsessionId: Buffer
Jump to headingsessionData: Buffer
Jump to headingcallback: () => void

Return Type Jump to heading

boolean
Jump to headingServer.prototype.emit(
event: "OCSPRequest",
certificate: Buffer,
issuer: Buffer,
callback: (
err: Error | null,
resp: Buffer,
) => void
,
): boolean

Parameters Jump to heading

Jump to headingevent: "OCSPRequest"
Jump to headingcertificate: Buffer
Jump to headingissuer: Buffer
Jump to headingcallback: (
err: Error | null,
resp: Buffer,
) => void

Return Type Jump to heading

boolean
Jump to headingServer.prototype.emit(
event: "resumeSession",
sessionId: Buffer,
callback: (
err: Error | null,
sessionData: Buffer | null,
) => void
,
): boolean

Parameters Jump to heading

Jump to headingevent: "resumeSession"
Jump to headingsessionId: Buffer
Jump to headingcallback: (
err: Error | null,
sessionData: Buffer | null,
) => void

Return Type Jump to heading

boolean
Jump to headingServer.prototype.emit(
event: "secureConnection",
tlsSocket: TLSSocket,
): boolean

Parameters Jump to heading

Jump to headingevent: "secureConnection"

Return Type Jump to heading

boolean
Jump to headingServer.prototype.emit(
event: "keylog",
line: Buffer,
tlsSocket: TLSSocket,
): boolean

Parameters Jump to heading

Jump to headingevent: "keylog"
Jump to headingline: Buffer

Return Type Jump to heading

boolean
Back to top