mirror of
https://github.com/esiur/esiur-dart.git
synced 2025-05-06 12:02:57 +00:00
domain
This commit is contained in:
parent
1405891985
commit
c3ef064b19
@ -197,7 +197,7 @@ class DistributedConnection extends NetworkConnection with IStore
|
|||||||
var sock = new TCPSocket();
|
var sock = new TCPSocket();
|
||||||
|
|
||||||
|
|
||||||
sock.connect(domain, port).then<dynamic>((x){
|
sock.connect(address, port).then<dynamic>((x){
|
||||||
assign(sock);
|
assign(sock);
|
||||||
//rt.trigger(true);
|
//rt.trigger(true);
|
||||||
}).error((x)=>_openReply.triggerError(x));
|
}).error((x)=>_openReply.triggerError(x));
|
||||||
|
@ -10,6 +10,8 @@ main()
|
|||||||
var x = await Warehouse.get("iip://localhost:5000/sys/su", {"username": "admin", "password": "1234"
|
var x = await Warehouse.get("iip://localhost:5000/sys/su", {"username": "admin", "password": "1234"
|
||||||
, "domain": "example.com"});
|
, "domain": "example.com"});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
x.instance.store.on("close", (x){
|
x.instance.store.on("close", (x){
|
||||||
print("Closed");
|
print("Closed");
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user