discontinuedPackage electricsql has been discontinued.

Socket class abstract

Implementers

Constructors

Socket()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

closeAndRemoveListeners() → Socket
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onceConnect(void cb()) → void
onceError(void cb(SatelliteException error, StackTrace st)) → void
onClose(void cb(SocketCloseReason reason)) → void
onError(void cb(SatelliteException error, StackTrace st)) → void
onMessage(void cb(Data data)) → void
open(ConnectionOptions opts) → Socket
removeErrorListener(void cb(SatelliteException error, StackTrace st)) → void
toString() → String
A string representation of this object.
inherited
write(Data data) → Socket

Operators

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