d3x0r
545f995a3e
Handle batched messages.
...
Failure to handle batch messages causes half communcaitions failures... (the clients were using a batching protocol, while all servers were based on this example...
2017-03-27 16:55:29 -07:00
Mark Nadal
f43a0212b0
Update README.md
2017-03-25 13:59:50 -07:00
Mark Nadal
c4008d935a
Merge pull request #350 from d3x0r/patch-13
...
Fixup external-ws example
2017-03-24 11:52:39 -07:00
Mark Nadal
ccf1a16fbf
Merge pull request #349 from zwhitchcox/master
...
add default path for gun
2017-03-24 11:51:59 -07:00
d3x0r
62eb748f93
Formatting fix.
2017-03-24 11:00:09 -07:00
d3x0r
c0e8de95c7
Update for internals change
...
gun.wsp doesn't exist.
move .on hook up further
add this.to.next.
(still fails to serve chat example; others work)
2017-03-24 10:56:56 -07:00
Zane Hitchcox
d46db34d45
add default path for gun
2017-03-24 12:56:11 -04:00
Mark Nadal
ab467589c2
/gun
2017-03-23 11:52:29 -07:00
Mark Nadal
223c1f7029
react
2017-03-23 11:46:49 -07:00
Mark Nadal
e0153db653
faster state
2017-03-23 11:40:46 -07:00
Mark Nadal
0dae271b04
Merge pull request #347 from d3x0r/patch-12
...
Add get options cat.wsp
2017-03-23 11:37:17 -07:00
d3x0r
7bad1dbecc
avoid sending nothing.
2017-03-23 11:15:40 -07:00
d3x0r
98b9c4fdb7
don't wrap message in 'body'
...
don't wrap message in 'headers','body' and don't pull 'body' from message.
2017-03-22 18:17:31 -07:00
d3x0r
01be81119a
opts are in a different location
2017-03-22 17:40:55 -07:00
d3x0r
65dbbf236c
set wsc opts on opt.
2017-03-22 17:38:44 -07:00
d3x0r
2123ba7192
Missed a layer of indirection.
2017-03-22 17:32:24 -07:00
d3x0r
7b6dc5d11b
'this' should be 'as'
...
but I think 'this' is also 'as'... in that case...
2017-03-22 17:24:45 -07:00
d3x0r
dfda990ec2
'peer' should be 'this'
2017-03-22 17:23:05 -07:00
d3x0r
823950d87d
Add get options cat.wsp
...
gets options passed to Gun( { wsc: { ...} } ) and puts wsc options in wsp which is used to contain a working state 'count' right now. In addition to 'count' it will now contain 'wsc' which are the options passed to the gun instance. This is cached on the 'cat' so the lookup should only be one time.
Since 'cat' becomes 'peer' later, peer.wsp.wsc are the new options. These will always exist for the WebSocket call. They default to 'null' and or Empty so no change will be expected without additional options.
2017-03-22 17:10:22 -07:00
Mark Nadal
e60d7acee0
Merge pull request #346 from zwhitchcox/master
...
add hapi, refactor examples
2017-03-22 15:09:03 -07:00
Mark Nadal
a39db32b35
Update README.md
2017-03-22 14:59:18 -07:00
Zane Hitchcox
ff255f33ee
- add hapi\n- refactor examples
2017-03-22 06:43:56 -04:00
Mark Nadal
758022871a
Merge pull request #345 from brysgo/master
...
Move react example to create-react-app and try to get it syncing
2017-03-21 20:30:11 -07:00
Bryan Goldstein
4f44660cfd
Pass down gun instance so things don't break
2017-03-22 03:25:22 +00:00
Mark Nadal
b085d7a197
nam publish
2017-03-21 19:36:12 -07:00
Mark Nadal
8fea98e581
Update README.md
2017-03-21 15:16:01 -07:00
Bryan Goldstein
8a95deb4fd
Move react example to create-react-app and try to get it syncing
2017-03-21 04:54:46 +00:00
Mark Nadal
527489d835
Merge pull request #344 from eriteric/react-example-fix
...
get react example working out of the box
2017-03-20 19:18:35 -07:00
Eric Iffland
c59c857ecb
get react example working out of the box
2017-03-20 18:52:39 -07:00
Mark Nadal
e7c89345a9
map!
2017-03-17 02:03:37 -07:00
Mark Nadal
2a91a45319
map
2017-03-17 01:54:04 -07:00
Mark Nadal
4ddaf4518b
map
2017-03-17 01:44:11 -07:00
Mark Nadal
232329e7cb
map
2017-03-17 01:35:06 -07:00
Mark Nadal
187b494ca3
map
2017-03-17 01:32:24 -07:00
Mark Nadal
f8659b3eef
Update package.json
2017-03-15 14:19:08 -07:00
Mark Nadal
0e234d5c43
Update server.js
2017-03-15 14:16:37 -07:00
Mark Nadal
a4324ff019
Merge pull request #339 from zwhitchcox/patch-2
...
remove unnecessary comment
2017-03-15 13:45:47 -07:00
Zane Hitchcox
ef0b1aa212
remove unnecessary comment
2017-03-14 22:27:54 -04:00
Mark Nadal
7e61d36a2a
Merge pull request #338 from zwhitchcox/patch-1
...
remove back ||
2017-03-14 18:35:50 -07:00
Zane Hitchcox
2ed536baf6
remove back ||
...
That doesn't do anything
2017-03-14 20:09:18 -04:00
Mark Nadal
439ef82c5b
Update README.md
2017-03-14 10:31:55 -07:00
Mark Nadal
2d455d30b5
fix express
2017-03-13 19:46:12 -07:00
Mark Nadal
029e11e907
bump set
2017-03-13 17:37:41 -07:00
Mark Nadal
39d0da0f6d
Update package.json
2017-03-13 16:53:45 -07:00
Mark Nadal
6886a33329
load testing!!! 1.7K inserts/sec! Only will get more better!
2017-03-11 07:38:12 -08:00
Mark Nadal
fff3a99bb2
load testing!!! 1.7K inserts/sec! Only will get more better!
2017-03-11 07:36:48 -08:00
Mark Nadal
9c640d2000
load testing!!! 1.7K inserts/sec! Only will get more better!
2017-03-11 07:33:51 -08:00
Mark Nadal
2c0a48a966
load testing!!! 1.7K inserts/sec! Only will get more better!
2017-03-11 07:27:46 -08:00
Mark Nadal
09ec456a0c
load testing!!! 1.7K inserts/sec! Only will get more better!
2017-03-11 07:25:02 -08:00
Mark Nadal
bfdfa9b8a9
load testing!!! 1.7K inserts/sec! Only will get more better!
2017-03-11 07:23:46 -08:00