These commits add support for binary messages from websocket_write. This is useful for sending raw data more efficiently down the wire. Since version 15, Chrome can stuff binary messages directly into ArrayBuffers, giving a fast way to get arrays of raw floats.
One of the commits fixes a bug on .frame which arises when the opcode parameter in .frame is different from 1, and the other commit adds the is.binary functionality to the websocket server functions.
These commits add support for binary messages from websocket_write. This is useful for sending raw data more efficiently down the wire. Since version 15, Chrome can stuff binary messages directly into ArrayBuffers, giving a fast way to get arrays of raw floats.
One of the commits fixes a bug on .frame which arises when the opcode parameter in .frame is different from 1, and the other commit adds the is.binary functionality to the websocket server functions.