WebSocketSyncProvider class

WebSocket sync provider (placeholder - requires web_socket_channel)

Implemented types

Constructors

WebSocketSyncProvider(String url)

Properties

hashCode int
The hash code for this object.
no setterinherited
isConnected bool
Check if connected
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
final

Methods

connect() Future<void>
Connect to sync service
override
disconnect() Future<void>
Disconnect from sync service
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
publish(String channel, dynamic data) Future<void>
Publish data to channel
override
subscribe(String channel, void onData(dynamic data)) → void
Subscribe to channel
override
toString() String
A string representation of this object.
inherited
unsubscribe(String channel) → void
Unsubscribe from channel
override

Operators

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