WebRTCDataChannel.WriteMode

Values

ValueMeaning
writeModeText0

Tells the channel to send data over this channel as text. An external peer (non-Godot) would receive this as a string.

writeModeBinary1

Tells the channel to send data over this channel as binary. An external peer (non-Godot) would receive this as array buffer or blob.

Meta