WebTransport class

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

WebTransport(String url, [WebTransportOptions? options])
factory

Properties

closed Future<WebTransportCloseInfo>

Available on WebTransport, provided by the PropsWebTransport extension

no setter
congestionControl WebTransportCongestionControl

Available on WebTransport, provided by the PropsWebTransport extension

no setter
datagrams WebTransportDatagramDuplexStream

Available on WebTransport, provided by the PropsWebTransport extension

no setter
hashCode int
The hash code for this object.
no setterinherited
incomingBidirectionalStreams ReadableStream

Available on WebTransport, provided by the PropsWebTransport extension

no setter
incomingUnidirectionalStreams ReadableStream

Available on WebTransport, provided by the PropsWebTransport extension

no setter
ready Future<void>

Available on WebTransport, provided by the PropsWebTransport extension

no setter
reliability WebTransportReliabilityMode

Available on WebTransport, provided by the PropsWebTransport extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close([WebTransportCloseInfo? closeInfo]) → void

Available on WebTransport, provided by the PropsWebTransport extension

createBidirectionalStream() Future<WebTransportBidirectionalStream>

Available on WebTransport, provided by the PropsWebTransport extension

createUnidirectionalStream() Future<WebTransportSendStream>

Available on WebTransport, provided by the PropsWebTransport extension

getStats() Future<WebTransportStats>

Available on WebTransport, provided by the PropsWebTransport extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited