ITransport class abstract

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

Implementers

Constructors

ITransport()

Properties

hashCode int
The hash code for this object.
no setterinherited
onClose OnClose?
getter/setter pair
onReceive OnReceive?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect(String? url, TransferFormat transferFormat) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(Object data) Future<void>
data: the content. Either a string (json) or Uint8List (binary)
stop() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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