RealtimeWebSocketClient class

Constructors

RealtimeWebSocketClient({int maxReconnect = DEFAULT_MAX_RECONNECT, int reconnectInterval = DEFAULT_WS_RECONNECT_INTERVAL, required int realtimePingInterval, required int realtimePongWaitTimeout, required GetAccessTokenFunc getAccessToken})
RealtimeWebSocketClient.getInstance(CloudBaseCore core)
factory

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

close(num code) → void
closeAllClients(dynamic error) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseClients([List<VirtualWebSocketClient>? clients]) → void
resumeClients([List<VirtualWebSocketClient>? clients]) → void
send({required Map msg, bool waitResponse = false, bool skipOnMessage = false, int? timeout}) Future<Map?>
toString() String
A string representation of this object.
inherited
watch({String? envId, String? collectionName, String? query, int? limit, Map<String, String>? orderBy, Function? onChange, Function? onError}) → dynamic

Operators

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