This topic has not yet been rated - Rate this topic

responseEnd property

The responseEnd property must return the time immediately after the user agent receives the last byte of the current document or immediately before the transport connection is closed, whichever comes first. The document here can be received either from the server, relevant application caches, or from local resources.

Internet Explorer 9

Syntax

JavaScript

p = object.responseEnd

Property values

Type: Integer

An Integer value that represents the time immediately after the user agent receives the last byte of the current document or immediately before the transport connection is closed, whichever comes first.

Standards information

Remarks

The value reported by the responseEnd property represents the number of milliseconds between the recorded time and midnight January 1, 1970 (UTC).

Windows Internet Explorer 9. This property is supported only for documents displayed in IE9 Standards mode. For more information, see Defining Document Compatibility.

Examples

The following example shows how to calculate the time required to receive a response from the hosting server.


var oTiming = window.performance.timing;
var iTimeMS = oTiming.responseEnd - oTiming.responseStart;

See also

performanceTiming
responseStart

 

 

Send comments about this topic to Microsoft

Build date: 11/21/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.