type

quic.OnKeylogCallback

type OnKeylogCallback = (this: QuicSession, line: string) => void

Called when TLS key material is available. Only fires when sessionOptions.keylog is true. Multiple lines are emitted during the TLS 1.3 handshake, each containing a secret label, the client random, and the secret value.