This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The rtt
read-only property of the NetworkInformation
interface returns the round-trip time estimate in milliseconds, rounded to the nearest multiple of 25 milliseconds. This value is based on recently observed application-layer round-trip time measurements across recently active connections, excluding connections made to private address space. In the absence of data, this value is determined by the properties of the underlying connection technology.
Syntax
var rtt = NetworkInformation.rtt
Value
A Double
.
Specifications
Specification | Status | Comment |
---|---|---|
Network Information API The definition of 'rtt' in that specification. |
Editor's Draft | Initial definition. |
Browser Compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 61 | ? | ? | 48 | ? |
Feature | Android Webview | Chrome for Android | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|---|
Basic support | 61 | 61 | ? | ? | ? | 48 | ? |