WebTransportSendStream

The WebTransportSendStream interface of the WebTransport API is a specialized WritableStream that is used to send outbound data in both unidirectional or bidirectional WebTransport streams. Available only in secure contexts.

MDN Reference

Properties

Link copied to clipboard
Link copied to clipboard

The sendOrder property of the WebTransportSendStream interface indicates the send priority of this stream relative to other streams for which the value has been set.

Functions

Link copied to clipboard
fun abortAsync(reason: JsError?): Promise<Void>
Link copied to clipboard
Link copied to clipboard

The getStats() method of the WebTransportSendStream interface asynchronously returns an object containing statistics for the current stream.

Link copied to clipboard

The getStats() method of the WebTransportSendStream interface asynchronously returns an object containing statistics for the current stream.

Link copied to clipboard