DataStreamParticipantMethods extension

on

Methods

sendBytes(List<int> bytes, {SendBytesOptions? options}) → Future<ByteStreamInfo>

Available on LocalParticipant, provided by the DataStreamParticipantMethods extension

Sends a complete in-memory byte payload as a data stream.
sendFile(File file, {required SendFileOptions options}) → Future<Map<String, String>>

Available on LocalParticipant, provided by the DataStreamParticipantMethods extension

Sends a file as a byte data stream, returning {'id': streamId}.
sendText(String text, {SendTextOptions? options}) → Future<TextStreamInfo>

Available on LocalParticipant, provided by the DataStreamParticipantMethods extension

Sends a complete text payload as a data stream.
streamBytes(StreamBytesOptions? options) → Future<ByteStreamWriter>

Available on LocalParticipant, provided by the DataStreamParticipantMethods extension

Opens an incremental byte stream. Incremental writers are never compressed or inlined.
streamText(StreamTextOptions? options) → Future<TextStreamWriter>

Available on LocalParticipant, provided by the DataStreamParticipantMethods extension

Opens an incremental text stream. Incremental writers are never compressed or inlined.