mozilla

Revision 74548 of WebSockets reference

  • Revision slug: WebSockets/WebSockets_reference
  • Revision title: WebSockets reference
  • Revision id: 74548
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment replace with a landing page for the reference subpages; 37 words added, 1027 words removed

Revision Content

{{ draft() }}

The following articles document the interfaces of the WebSocket API. This page is a bit of a drafty placeholder for the moment.

WebSocket
The primary interface for connecting to a WebSocket server and then sending and receiving data on the connection.
CloseEvent
The event sent by the WebSocket object when the connection closes.
MessageEvent
The event sent by the WebSocket object when a message is received from the server.

Revision Source

<p>{{ draft() }}</p>
<p>The following articles document the interfaces of the WebSocket API. This page is a bit of a drafty placeholder for the moment.</p>
<dl> <dt><a href="/en/WebSockets/WebSockets_reference/WebSocket" title="en/WebSockets/WebSockets reference/WebSocket"><code>WebSocket</code></a></dt> <dd>The primary interface for connecting to a WebSocket server and then sending and receiving data on the connection.</dd> <dt><a href="/en/WebSockets/WebSockets_reference/CloseEvent" title="en/WebSockets/WebSockets reference/CloseEvent"><code>CloseEvent</code></a></dt> <dd>The event sent by the WebSocket object when the connection closes.</dd> <dt><a href="/en/WebSockets/WebSockets_reference/MessageEvent" title="en/WebSockets/WebSockets reference/MessageEvent"><code>MessageEvent</code></a></dt> <dd>The event sent by the WebSocket object when a message is received from the server.</dd>
</dl>
Revert to this revision