Skip to main content

sendData

Summary

Send a payload on the data channel.

Signature

Parameters

data

Type:Uint8Array Raw payload bytes.

Returns

Type:void Send a payload on the data channel.

Remarks

The payload is wrapped in a magic framing packet before being sent.