cscheid/R-Websockets — comment on commit 63379786da2a2146352b0e70cb7d49769f20b448
File:  line 0
By cscheid:

This is a simple patch which adds a new parameter to create_server, namely is.binary. When is.binary=TRUE, all messages sent by websocket_write go out with opcode=2, so they're interpreted as binary by browsers which understand binary websocket frames.

The control over this should possibly be more fine-grained, perhaps by adding a parameter directly to websocket_write, so I'm not sure whether you'll want to take this patch as-is.