Interface ConnectionTimingEvents

interface ConnectionTimingEvents {
    connectTimestamp: number;
    disconnectTimestamp?: 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.

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/SOCKS connection) was created, if there was one.