Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't send a message on connect from the server.

  • Loading branch information...
commit c958c5ead94d8264a5b039e0c9413b932aef41df 1 parent faa1f11
@jcoglan jcoglan authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  examples/server.js
View
2  examples/server.js
@@ -10,8 +10,6 @@ var upgradeHandler = function(request, socket, head) {
var ws = new WebSocket(request, socket, head, ['irc', 'xmpp'], {ping: 5});
console.log('open', ws.url, ws.version, ws.protocol);
- ws.send('The server says hi.');
-
ws.onmessage = function(event) {
ws.send(event.data);
};
Please sign in to comment.
Something went wrong with that request. Please try again.