WebTransport class

Available only in secure contexts.

MDN Reference

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

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

Properties

close ↔ void Function([WebTransportCloseInfo?])

Available on WebTransport, provided by the WebTransport$Typings extension

getter/setter pair
closed Future<WebTransportCloseInfo>

Available on WebTransport, provided by the WebTransport$Typings extension

MDN Reference
no setter
createBidirectionalStream Future<WebTransportBidirectionalStream> Function([WebTransportSendStreamOptions?])

Available on WebTransport, provided by the WebTransport$Typings extension

getter/setter pair
createUnidirectionalStream Future<WritableStream> Function([WebTransportSendStreamOptions?])

Available on WebTransport, provided by the WebTransport$Typings extension

getter/setter pair
datagrams WebTransportDatagramDuplexStream

Available on WebTransport, provided by the WebTransport$Typings extension

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

Available on WebTransport, provided by the WebTransport$Typings extension

MDN Reference
no setter
incomingUnidirectionalStreams ReadableStream

Available on WebTransport, provided by the WebTransport$Typings extension

MDN Reference
no setter
ready Future

Available on WebTransport, provided by the WebTransport$Typings extension

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

Methods

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