mirror of
https://github.com/esiur/esiur-dart.git
synced 2025-09-13 12:03:18 +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 ||
|
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");
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user