mirror of
				https://github.com/esiur/esiur-dart.git
				synced 2025-10-30 23:31:36 +00:00 
			
		
		
		
	wsUrl
This commit is contained in:
		| @@ -223,7 +223,7 @@ class DistributedConnection extends NetworkConnection implements IStore { | ||||
|       var secure = instance?.attributes.containsKey("secure") == 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) | ||||
|         autoReconnect = instance?.attributes["autoReconnect"] == true; | ||||
| @@ -291,7 +291,7 @@ class DistributedConnection extends NetworkConnection implements IStore { | ||||
|       String? domain, | ||||
|       bool useWebsocket = false, | ||||
|       bool secureWebSocket = false, | ||||
|       String wsUrl = ""}) { | ||||
|       String wsUrl = "iip"}) { | ||||
|     if (_openReply != null) | ||||
|       throw AsyncException(ErrorType.Exception, 0, "Connection in progress"); | ||||
|  | ||||
|   | ||||
| @@ -50,7 +50,7 @@ class WSocket extends ISocket { | ||||
|  | ||||
|   IPEndPoint? _localEP, _remoteEP; | ||||
|  | ||||
|   String wsUrl = ""; | ||||
|   String wsUrl = "iip"; | ||||
|  | ||||
|   bool begin() { | ||||
|     if (began) return false; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user