send_binary


Description:

public void send_binary (uint8[]? data)

Send a binary message to the peer.

If data.length is 0, data may be null.

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

Parameters:

this

the WebSocket

data

the message contents

length

the length of data