Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
WebTransportReceiveStream interface of the WebTransport API is a
ReadableStream that can be used to read from an incoming unidirectional or bidirectional
WebTransport stream from a server.
The stream is a readable byte stream of
Uint8Array, and can be consumed using either a BYOB reader (
ReadableStreamBYOBReader) or the default reader (
Objects of this type are not constructed directly.
Instead they are obtained using the
WebTransportReceiveStream is a transferable object.
Note: This feature is available in Web Workers
Inherits properties from its parent interface,
Also inherits properties from its parent interface,
Promisethat resolves with statistics related to this stream.
WebTransport.incomingUnidirectionalStreams for an example of how to get a
BCD tables only load in the browser