incomingUnidirectionalStreams property

ReadableStream get incomingUnidirectionalStreams

The incomingUnidirectionalStreams read-only property of the WebTransport interface represents one or more unidirectional streams opened by the server. Returns a ReadableStream of WebTransportReceiveStream objects. Each one can be used to reliably read data from the server.

"Reliable" means that transmission and order of data are guaranteed. This provides slower delivery (albeit faster than with WebSockets) than WebTransport.datagrams, but is needed in situations where reliability and ordering are important, like chat applications.

Implementation

external ReadableStream get incomingUnidirectionalStreams;