aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/conflicting/web/api/websockets_api/index.html
blob: 8ba333720556f2db1b96c96fd5b3a43b69f2ab0e (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
---
title: WebSockets 參考
slug: WebSockets/WebSockets_reference
tags:
  - WebSockets
translation_of: Web/API/WebSockets_API
translation_of_original: Web/API/WebSockets_API/WebSockets_reference
---
<p>{{ draft() }}</p>
<p>下述文章是 WebSocket API 各介面的說明文件,本頁面為暫時的佔位文件。</p>
<dl>
 <dt>
  <a href="/zh_tw/WebSockets/WebSockets_reference/WebSocket" title="zh tw/WebSockets/WebSockets reference/WebSocket"><code>WebSocket</code></a></dt>
 <dd>
  與 WebSocket 伺服器連接,傳送、接收資料的主介面。.</dd>
 <dt>
  <a href="/zh_tw/WebSockets/WebSockets_reference/CloseEvent" title="zh tw/WebSockets/WebSockets reference/CloseEvent"><code>CloseEvent</code></a></dt>
 <dd>
  當連線關閉時 WebSocket 物件送出的事件。</dd>
 <dt>
  <a href="/zh_tw/WebSockets/WebSockets_reference/MessageEvent" title="zh tw/WebSockets/WebSockets reference/MessageEvent"><code>MessageEvent</code></a></dt>
 <dd>
  當伺服器傳來資料時 WebSocket 物送送出的事件。</dd>
</dl>
<p> </p>
<p>{{ languages ( {"en": "en/WebSockets/WebSockets_reference"} ) }}</p>