Skip to main content

once

method TLSSocket.prototype.once
Jump to headingTLSSocket.prototype.once(
event: string,
listener: (...args: any[]) => void,
): this

Parameters Jump to heading

Jump to headingevent: string
Jump to headinglistener: (...args: any[]) => void

Return Type Jump to heading

this
Jump to headingTLSSocket.prototype.once(
event: "OCSPResponse",
listener: (response: Buffer) => void,
): this

Parameters Jump to heading

Jump to headingevent: "OCSPResponse"
Jump to headinglistener: (response: Buffer) => void

Return Type Jump to heading

this
Jump to headingTLSSocket.prototype.once(
event: "secureConnect",
listener: () => void,
): this

Parameters Jump to heading

Jump to headingevent: "secureConnect"
Jump to headinglistener: () => void

Return Type Jump to heading

this
Jump to headingTLSSocket.prototype.once(
event: "session",
listener: (session: Buffer) => void,
): this

Parameters Jump to heading

Jump to headingevent: "session"
Jump to headinglistener: (session: Buffer) => void

Return Type Jump to heading

this
Jump to headingTLSSocket.prototype.once(
event: "keylog",
listener: (line: Buffer) => void,
): this

Parameters Jump to heading

Jump to headingevent: "keylog"
Jump to headinglistener: (line: Buffer) => void

Return Type Jump to heading

this
Back to top