Interface TlsTimingEvents

interface TlsTimingEvents {
    connectTimestamp: number;
    disconnectTimestamp?: number;
    handshakeTimestamp?: number;
    startTime: number;
    tunnelTimestamp?: number;
}

Hierarchy (view full)

Properties

connectTimestamp: number

When the socket initially connected, equivalent to startTime.

High-precision floating-point monotonically increasing timestamps. Comparable and precise, but not related to specific current time.

disconnectTimestamp?: number

When the connection was closed, if it has been closed.

handshakeTimestamp?: number

When Mockttp's handshake for this connection was completed (if there was one). This is not set for passed through connections.

startTime: number

When the socket initially connected, in MS since the unix epoch.

tunnelTimestamp?: number

When the outer tunnel (e.g. a preceeding CONNECT request) was created, if there was one.