addUtf8Text method - WebSocket class - dart:io library (original) (raw)

description

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