Lorenzo Mangani
4124a2db50
Allow externally provided websockets in constructor
...
For consideration (this can also be overloaded in stock gun)
The current ws.js code does not allow providing an external websocket while initializing Gun. This one line patch makes it possible:
```
var myWS= new WebSocket.Server({ noServer: true, path: pathname});
var myGun = new Gun({
ws: { noServer: true, path: '/mygun', web: myWS },
web: myWS
});
```
2020-04-16 21:54:02 +02:00
Mark Nadal
fc2f329c48
safe filenames, up ws
2018-06-07 11:49:59 -07:00
Mark Nadal
093f0ca98e
undo
2018-03-12 23:50:49 -07:00
Mark Nadal
1600bb2bc8
wire mesh
2018-03-12 23:43:34 -07:00
Mark Nadal
ca6eecffa5
fix via @zrrrzzt @nalbina @d3x0r @Stefdv !
2018-01-06 12:05:24 -08:00
Jim B
1b8c75d786
Something like this should fix #422
...
Added support to take opt as a string
Promote simple opt as a string to opt.peers[opt] .
2017-09-19 05:33:52 -07:00
Mark Nadal
b3e59d243e
goodbye experiment
2017-08-25 03:39:42 -07:00
Mark Nadal
4db1ae9872
v0.8 baby! Last Breaking Changes!
2017-07-06 18:10:41 -07:00
Mark Nadal
fc74a80cf5
uggh ws & uws
2017-04-10 13:10:36 -07:00
Mark Nadal
181b6bd767
0.7 with .val(cb) also hearing .not
2017-04-03 13:02:20 -07:00
Jesse Gibson
e36e78f532
Isolate websocket logic
...
WebSocket logic has it's own folder now, `wsp`.
2016-11-10 10:09:18 -07:00
Mark Nadal
fa3d3eeff4
0.5 BETA TESTING
2016-09-25 13:06:29 -07:00
Mark Nadal
08418ee836
realtime sync with 40 tests passing
2016-05-26 11:40:09 -07:00
Mark Nadal
1fdd9cf89a
20% tests passing! Before testing server.
2016-05-25 13:11:06 -07:00
Mark Nadal
cec7e10133
Streaming demo
...
Major changes for the streaming demo, pushing to GitHub
2016-02-09 16:30:47 -08:00
Mark Nadal
7f44bed3d9
quick express fixes
2016-01-28 13:00:38 -08:00
Mark Nadal
6e5a5aa872
delog after fixing partial sub set
2015-02-13 20:01:52 -07:00
Mark Nadal
3e9bb356a4
broken
2015-02-08 20:48:47 -07:00
Alex LaFroscia
df700dea9b
Replace calls to console.log
with Gun.log
2015-01-24 12:25:46 -05:00
Mark Nadal
e9b1790774
?
2014-12-18 03:48:01 -07:00
Mark Nadal
221b9385d7
Massive directory cleanup, more reliable transport
2014-12-06 15:28:03 -08:00