addStream abstract method

  1. @override
Future<Null> addStream(
  1. Stream stream
)
override

Adds a stream of data to send over the WebSocket connection. This will wait for the stream to complete, sending each element as it is received.

See send for the list of accepted types of data from the stream.

Sending additional data before this stream has completed may result in a StateError.

Implementation

@override
Future<Null> addStream(Stream stream);