MessageSocket class abstract interface

One open bidirectional text-frame connection.

Properties

closeCode → int?
Close code once closed (null while open / unknown).
no setter
closeReason → String?
Close reason once closed.
no setter
hashCode → int
The hash code for this object.
no setterinherited
incoming → Stream<String>
Incoming text frames; done when the connection closed.
no setter
protocol → String?
Negotiated sub-protocol, when known.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close([int? code, String? reason]) → Future<void>
Closes the connection (idempotent).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(String frame) → void
Sends one text frame (ignored after close).
toString() → String
A string representation of this object.
inherited

Operators

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