EastCloud/node-websockets — pull request #1 by DiThi (2013-12-12 00:12:05+00:00)
Title: HTML5 WebSocket compatibility for onmessage event.

Onmessage expects a MessageEvent object, with a single attribute called "data". Also, the argument was not being used in any way, so there was no way to retrieve the data.

https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent