Skip to content

Commit

Permalink
[] (0) Rename WebSocket.postMessage() to WebSocket.send().
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3361 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 7, 2009
1 parent a1d38c6 commit 9e97c06
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions index
Expand Up @@ -72163,6 +72163,7 @@ time:empty { binding: <i title="">time</i>; }</pre>
James Justin Harrell,
James M Snell,
James Perrett,
James Robinson,
Jan-Klaas Kollhof,
Jason Kersey,
Jason Lustig,
Expand Down
9 changes: 5 additions & 4 deletions source
Expand Up @@ -69978,7 +69978,7 @@ interface <dfn>WebSocket</dfn> {
attribute <span>Function</span> <span title="handler-WebSocket-onopen">onopen</span>;
attribute <span>Function</span> <span title="handler-WebSocket-onmessage">onmessage</span>;
attribute <span>Function</span> <span title="handler-WebSocket-onclose">onclose</span>;
void <span title="dom-WebSocket-postMessage">postMessage</span>(in DOMString data);
void <span title="dom-WebSocket-send">send</span>(in DOMString data);
void <span title="dom-WebSocket-disconnect">disconnect</span>();
};</pre>

Expand Down Expand Up @@ -70096,7 +70096,7 @@ interface <dfn>WebSocket</dfn> {
steps executed when the constructor is invoked change this
attribute's value.</p>

<p>The <dfn title="dom-WebSocket-postMessage"><code>postMessage(<var
<p>The <dfn title="dom-WebSocket-send"><code>send(<var
title="">data</var>)</code></dfn> method transmits data using the
connection. If the connection is not established (<code
title="dom-WebSocket-readyState">readyState</code> is not <code
Expand Down Expand Up @@ -70919,8 +70919,8 @@ Proxy-authorization: Basic ZWRuYW1vZGU6bm9jYXBlcyE=</pre>

<!-- v2: People often request the ability to send binary blobs over
this API; we should also look into allowing name/value pairs,
arrays, and numbers using postMessage() instead of just strings and
binary data. -->
arrays, and numbers using send() instead of just strings and binary
data. -->


<h6>Handling errors in UTF-8</h6>
Expand Down Expand Up @@ -85111,6 +85111,7 @@ time:empty { binding: <i title="">time</i>; }</pre>
James Justin Harrell,
James M Snell,
James Perrett,
James Robinson,
Jan-Klaas Kollhof,
Jason Kersey,
Jason Lustig,
Expand Down

0 comments on commit 9e97c06

Please sign in to comment.