addUtf8Text method

void addUtf8Text (
  1. List<int> bytes
)

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);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/WebSocket/addUtf8Text.html