addUtf8Text method - WebSocket class - dart:io library (original) (raw)
addUtf8Text abstract method
void addUtf8Text(
Sends a text message with the text represented by bytes
.
The bytes
should be valid UTF-8 encoded Unicode characters. If they are not, the receiving end will close the connection.
Implementation
void addUtf8Text(List<int> bytes);