TlsSocketEvents
TlsSocketEvents =
InetSocketEvents&object
Defined in: packages/node/src/net/tls-socket.ts:12
Event map for TlsSocket.
Type Declaration
Section titled “Type Declaration”keylog
Section titled “keylog”keylog: [
Buffer]
Emitted with each line of TLS key material, for traffic decryption.
ocspResponse
Section titled “ocspResponse”ocspResponse: [
Buffer|null]
Emitted with the stapled OCSP response, or null when the server sent
none. Only emitted when requestOCSP was set.
secure
Section titled “secure”secure: []
Emitted once the handshake completed, including after a renegotiation.
Unlike TlsSocketEvents.secureConnect this also fires on sockets accepted by a server.
secureConnect
Section titled “secureConnect”secureConnect: []
Emitted once the handshake completed and the connection is usable.
session
Section titled “session”session: [
Buffer]
Emitted with a session ticket that can be reused to resume the session.