aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/performancetiming/connectend/index.html
blob: 11668e695d598bae64d90549e39088619a6da8af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
title: PerformanceTiming.connectEnd
slug: Web/API/PerformanceTiming/connectEnd
translation_of: Web/API/PerformanceTiming/connectEnd
---
<p>{{APIRef("Navigation Timing")}}</p>

<h2 id="Summary">Summary</h2>

<p><code><strong>PerformanceTiming</strong></code><strong><code>.connectEnd</code></strong> 这个只读属性返回一个无符号长整型,它以毫秒为单位,代表了网络链接建立的时间节点。如果传输层报告了错误或者链接又被重新建立,则采用最后一次链接建立的时间。如果链接是长久的,那么这个值等同于{{domxref("PerformanceTiming.fetchStart")}}。链接被认为打开以所有的链接握手,SOCKS认证结束为标志。</p>

<h2 id="Syntax">Syntax</h2>

<pre class="syntaxbox"><em>time</em> = <em>performanceTiming</em>.connectEnd;</pre>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Status</th>
   <th scope="col">Comment</th>
  </tr>
  <tr>
   <td>{{SpecName('Navigation Timing', '#dom-performancetiming-connectend', 'PerformanceTiming.connectEnd')}}</td>
   <td>{{Spec2('Navigation Timing')}}</td>
   <td>Initial definition.</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<div>
<div>
<div>


<p>{{Compat("api.PerformanceTiming.connectEnd")}}</p>
</div>
</div>
</div>

<h2 id="See_also">See also</h2>

<ul>
 <li>参见 {{domxref("PerformanceTiming")}} 接口.</li>
</ul>