Details about the time spent for each phase of a request-response round trip. All times are specified in milliseconds.

interface RequestTimings {
    blocked?: number;
    connect?: number;
    dns?: number;
    receive?: number;
    send?: number;
    ssl?: number;
    wait?: number;
}

Hierarchy

Properties

blocked?: number

Time spent in a queue waiting for a network connection. Can be -1 if the timing does not apply to the current request.

connect?: number

Time required to create TCP connection. Can be -1 if the timing does not apply to the current request.

dns?: number

The time required to resolve a host name. Can be -1 if the timing does not apply to the current request.

receive?: number

Time required to read entire response from the server.

send?: number

Time required to send HTTP request to the server.

ssl?: number

Time required for SSL/TLS negotiation. This time is also included in the RequestTimings.connect field. Can be -1 if the timing does not apply to the current request.

wait?: number

Time waiting for a response from the server.

Generated using TypeDoc