faye/faye-websocket-node — Issue #14: Passing a number to WebSocket.Client.send() fails.
Author: mikelehen
Created: 2012-02-16 21:53:36+00:00
State: open

There's an easy workaround, but Chrome, Safari, and Firefox all permit this (they convert the number to a string for you). So for compatibility, it'd be cool if faye-websocket did too.

TypeError: Object 1 has no method 'copy'
at [object Object].frame (/Users/michael/src/node_modules/faye-websocket/lib/faye/websocket/hybi_parser.js:236:12)
at [object Object].send (/Users/michael/src/node_modules/faye-websocket/lib/faye/websocket/api.js:46:30)