cloudbase_database/realtime/virtual_websocket_client library
orgin pub package: https://pub.dev/packages/cloudbase_database author: https://cloudbase.net/ & lirongcong.bennett@gmail.com
Enums
Constants
- DEFAULT_INIT_WATCH_TIMEOUT → const int
- DEFAULT_MAX_AUTO_RETRY_ON_ERROR → const int
- DEFAULT_MAX_SEND_ACK_AUTO_RETRY_ON_ERROR → const int
- DEFAULT_REBUILD_WATCH_TIMEOUT → const int
- DEFAULT_SEND_ACK_DEBOUNCE_TIMEOUT → const int
- DEFAULT_WAIT_TIME_ON_UNKNOWN_ERROR → const int
Typedefs
- GetWaitExpectedTimeoutLengthFunc = num Function()
- IsWSConnectedFunc = bool Function()
-
LoginFunc
= Future<
LoginResult> Function({String? envId, bool? refresh}) -
OnceWSConnectedFunc
= Future<
void> Function() -
SendFunc
= Future<
Map?> Function({required Map msg, bool skipOnMessage, int? timeout, bool waitResponse}) - WatchCloseCallback = void Function(VirtualWebSocketClient client, String? queryID)
- WatchStartCallback = void Function(VirtualWebSocketClient client, String queryID)