-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[zh-cn]: sync translation for
NetworkInformation.rtt
(#19191)
- Loading branch information
1 parent
dcd0d5b
commit 9dedd87
Showing
1 changed file
with
13 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,26 @@ | ||
--- | ||
title: NetworkInformation.rtt | ||
title: NetworkInformation:rtt 属性 | ||
slug: Web/API/NetworkInformation/rtt | ||
l10n: | ||
sourceCommit: 8bb6752a4d3ed3d54ab681636d16602e6bf1d74d | ||
--- | ||
|
||
{{apiref("Network Information API")}}{{SeeCompatTable}} | ||
{{apiref("Network Information API")}} {{AvailableInWorkers}} | ||
|
||
**NetworkInformation.rtt** 是一个只读属性,返回了当前连接下评估的往返时延(RTT, round-trip time),并保留该值为 25 千分秒的最接近的整数倍。该值基于最近使用中被监测的最近保持活跃连接的应用层上的 RTT 测量值。它排除了到私有地址空间的连接。如果没有最近的测量数据,该值就基于底层连接技术的属性。 | ||
{{domxref("NetworkInformation")}} 接口的 **`rtt`** 只读属性返回当前连接的估计有效往返时间,四舍五入到最接近的 25 毫秒的倍数。该值基于最近观察到的最近活动连接上的应用层 RTT 测量值。它不包括与私有地址空间建立的连接。如果没有可用的最新测量数据,则该值基于底层连接技术的属性。 | ||
|
||
{{AvailableInWorkers}} | ||
## 值 | ||
|
||
## Syntax | ||
一个数值。 | ||
|
||
```plain | ||
rtt = NetworkInformation.rtt | ||
``` | ||
|
||
### Return value | ||
|
||
一个数字。 | ||
|
||
## Specifications | ||
## 规范 | ||
|
||
{{Specifications}} | ||
|
||
## Browser compatibility | ||
## 浏览器兼容性 | ||
|
||
{{Compat}} | ||
|
||
## 参见 | ||
|
||
- {{HTTPHeader("RTT")}} |