ServerTransport class abstract

Abstract base class for server transport implementations

Implementers

Constructors

ServerTransport.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
onClose Future<void>
Future that completes when the transport is closed
no setter
onMessage Stream
Stream of incoming messages
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Close the transport
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(dynamic message) → void
Send a message through the transport
toString() String
A string representation of this object.
inherited

Operators

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