sendStream method

void sendStream(
  1. Uint8List data
)

Send a WebTransport stream (maps to a new QUIC bidirectional stream).

Implementation

void sendStream(Uint8List data) {
  if (_closed) throw StateError('Session closed');
  connection.openStream().then((stream) {
    stream.send(data);
  });
}