2
0
mirror of https://github.com/esiur/esiur-dart.git synced 2025-09-13 12:03:18 +00:00
This commit is contained in:
2025-08-10 23:14:13 +03:00
parent 693367f626
commit 91c8b93db3
2 changed files with 3 additions and 3 deletions

View File

@@ -223,7 +223,7 @@ class DistributedConnection extends NetworkConnection implements IStore {
var secure = instance?.attributes.containsKey("secure") == true || var secure = instance?.attributes.containsKey("secure") == true ||
instance?.attributes.containsKey("wss") == true; instance?.attributes.containsKey("wss") == true;
var wsUrl = instance?.attributes["wsUrl"].toString() ?? ""; var wsUrl = instance?.attributes["wsUrl"].toString() ?? "iip";
if (instance?.attributes.containsKey("autoReconnect") ?? false) if (instance?.attributes.containsKey("autoReconnect") ?? false)
autoReconnect = instance?.attributes["autoReconnect"] == true; autoReconnect = instance?.attributes["autoReconnect"] == true;
@@ -291,7 +291,7 @@ class DistributedConnection extends NetworkConnection implements IStore {
String? domain, String? domain,
bool useWebsocket = false, bool useWebsocket = false,
bool secureWebSocket = false, bool secureWebSocket = false,
String wsUrl = ""}) { String wsUrl = "iip"}) {
if (_openReply != null) if (_openReply != null)
throw AsyncException(ErrorType.Exception, 0, "Connection in progress"); throw AsyncException(ErrorType.Exception, 0, "Connection in progress");

View File

@@ -50,7 +50,7 @@ class WSocket extends ISocket {
IPEndPoint? _localEP, _remoteEP; IPEndPoint? _localEP, _remoteEP;
String wsUrl = ""; String wsUrl = "iip";
bool begin() { bool begin() {
if (began) return false; if (began) return false;