RealtimeConnection class

One open realtime connection, as the client uses it: what arrives, how to send, how to close. The client opens it through a RealtimeConnector, so its lifecycle can be tested without a server.

Constructors

RealtimeConnection({required Stream stream, required void send(String message), required void close()})
const

Properties

close → void Function()
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
send → void Function(String message)
final
stream → Stream
final

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