send method

void send(
  1. Uint8List data
)

Sends data to the peer via the multiplexer.

Implementation

void send(Uint8List data) {
  if (_closing) throw StateError('Socket is closing');
  multiplexer.send(data, remoteAddress, remotePort);
}