WebsocketConnection.sendBinary

Send a binary message to the peer.

If length is 0, data may be null.

The message is queued to be sent and will be sent when the main loop is run.

class WebsocketConnection
void
sendBinary
(
ubyte[] data = null
)

Parameters

data ubyte[]

the message contents