WebRTCDataChannel.WriteMode/writeMode - multiple declarations

Function WebRTCDataChannel.writeMode

The transfer mode to use when sending outgoing packet. Either text or binary.

WebRTCDataChannel.WriteMode writeMode() nothrow @property @nogc;

void writeMode (
  long v
) nothrow @property @nogc;

Enum WebRTCDataChannel.WriteMode

enum WriteMode : int { ... }

Enum members

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