WebSocketPeer.WriteMode

Values

ValueMeaning
writeModeText0

Specify that WebSockets messages should be transferred as text payload (only valid UTF-8 is allowed).

writeModeBinary1

Specify that WebSockets messages should be transferred as binary payload (any byte combination is allowed).

Meta