Transport class abstract

An abstraction over the behavior of transports. This is designed to support the framework and not intended for use by applications.

Constructors

Transport()

Properties

hashCode int
The hash code for this object.
no setterinherited
onclose ↔ (void Function(Object? error)?)
getter/setter pair
onreceive ↔ (void Function(Object data)?)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connectAsync(String url, TransferFormat transferFormat) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendAsync(Object data) Future<void>
stopAsync() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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