Skip to content

Commit

Permalink
Manual spacing fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Jul 27, 2021
1 parent 6b66c9e commit 63228ec
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -98862,15 +98862,13 @@ interface <dfn interface>WebSocket</dfn> : <span>EventTarget</span> {
</dd>

<dt><code data-x=""><var>socket</var>.<span subdfn data-x="dom-WebSocket-send">send</span>(<var>data</var>)</code></dt>

<dd>
<p>Transmits <var>data</var> using the WebSocket connection. <var>data</var> can be a string, a
<code>Blob</code>, an <code data-x="idl-ArrayBuffer">ArrayBuffer</code>, or an <code
data-x="idl-ArrayBufferView">ArrayBufferView</code>.</p>
</dd>

<dt><code data-x=""><var>socket</var>.<span subdfn data-x="dom-WebSocket-close">close</span>([ <var>code</var> ] [, <var>reason</var> ])</code></dt>

<dd>
<p>Closes the WebSocket connection, optionally using <var>code</var> as <span
data-x="concept-websocket-close-code">the WebSocket connection close code</span> and
Expand All @@ -98879,21 +98877,18 @@ interface <dfn interface>WebSocket</dfn> : <span>EventTarget</span> {
</dd>

<dt><code data-x=""><var>socket</var>.<span subdfn data-x="dom-WebSocket-url">url</span></code></dt>

<dd>
<p>Returns the <span data-x="concept-websocket-url">URL that was used</span> to establish the
WebSocket connection.</p>
</dd>

<dt><code data-x=""><var>socket</var>.<span subdfn data-x="dom-WebSocket-readyState">readyState</span></code></dt>

<dd>
<p>Returns the state of the <code>WebSocket</code> object's connection. It can have the values
described below.</p>
</dd>

<dt><code data-x=""><var>socket</var>.<span subdfn data-x="dom-WebSocket-bufferedAmount">bufferedAmount</span></code></dt>

<dd>
<p>Returns the number of bytes of application data (UTF-8 text and binary data) that have been
queued using <code data-x="dom-WebSocket-send">send()</code> but not yet been transmitted to the
Expand All @@ -98905,25 +98900,21 @@ interface <dfn interface>WebSocket</dfn> : <span>EventTarget</span> {
</dd>

<dt><code data-x=""><var>socket</var>.<span subdfn data-x="dom-WebSocket-extensions">extensions</span></code></dt>

<dd><p>Returns the extensions selected by the server, if any.</p></dd>

<dt><code data-x=""><var>socket</var>.<span subdfn data-x="dom-WebSocket-protocol">protocol</span></code></dt>

<dd>
<p>Returns the subprotocol selected by the server, if any. It can be used in conjunction with
the array form of the constructor's second argument to perform subprotocol negotiation.</p>
</dd>
<dd><p>Returns the subprotocol selected by the server, if any. It can be used in conjunction with
the array form of the constructor's second argument to perform subprotocol negotiation.</p></dd>

<dt><code data-x=""><var>socket</var>.<span subdfn data-x="dom-WebSocket-binaryType">binaryType</span> [ = <var>value</var> ]</code></dt>

<dd>
<p>Returns a string that indicates how binary data from the <code>WebSocket</code> object is
exposed to scripts:</p>

<dl>
<dt>"<code data-x="dom-BinaryType-blob">blob</code>"</dt>
<dd><p>Binary data is returned in <code>Blob</code> form.</p></dd>
<dt>"<code data-x="dom-BinaryType-blob">blob</code>"</dt>
<dd><p>Binary data is returned in <code>Blob</code> form.</p></dd>

<dt>"<code data-x="dom-BinaryType-arraybuffer">arraybuffer</code>"</dt>
<dd><p>Binary data is returned in <code data-x="idl-ArrayBuffer">ArrayBuffer</code>
form.</p></dd>
Expand Down

0 comments on commit 63228ec

Please sign in to comment.