MDN Web Docs

Instance properties

Also inherits properties from its parent interface, WritableStream.

WebTransportSendStream.sendOrder

Indicates the send priority of this stream relative to other streams for which the value has been set.

Instance methods

Also inherits methods from its parent interface, WritableStream.

WebTransportSendStream.getStats()

Returns a Promise that resolves with statistics related to this stream.

WebTransportSendStream.getWriter()

Returns a new WebTransportWriter object and locks the stream to it. While the stream is locked, no other writer can be acquired until this one is released.

Examples

See WebTransport.incomingUnidirectionalStreams for an example of how to get a ReadableStream of WebTransportSendStream objects.

Specifications

Specification
WebTransport
# webtransportsendstream

Browser compatibility

See also

Help improve MDN

Yes No

Learn how to contribute

This page was last modified on by MDN contributors.

Read the original on developer.mozilla.org ↗