Interface Timings

The timings object that is included in the metadata for requests and responses.

interface Timings {
    requestTimeMs?: number;
    requestTimeNs?: bigint;
    responseTimeMs?: number;
    responseTimeNs?: bigint;
}

Properties

requestTimeMs?: number

The time of the request in milliseconds

requestTimeNs?: bigint

The time of the request in nanoseconds

responseTimeMs?: number

The time of the response in milliseconds

responseTimeNs?: bigint

The time of the response in nanoseconds