INNER CODE UNIT · JavaScript
ssl
cyrus-and/chrome-har-capturer · lib/har.js:242
ssl = timing.sslEnd - timing.sslStart;
}
return {
time,
timings: {blocked, dns, connect, send, wait, receive, ssl}
};
}
function computePayload(entry, headers) {
// From Chrome:
// - responseHeaders.size: size of the headers if available (otherwise
// -1, e.g., HTTP/2)
// - entry.responseLength: actual *decoded* body size
// - entry.encodedResponseLength: total on-the-wire data
//
// To HAR:
// - headersSize: size of the headers if available (otherwise -1, e.g.,
// HTTP/2)