Commit Graph

7 Commits (b587d5f2f2f7154d3d89cb1d4a6a94c3e5d04145)

Author SHA1 Message Date
David Kebler 9ce3226f93 set up socket/server for TLS option
using command Socket Class extending either plain or tls server class
2019-01-05 15:16:13 -08:00
David Kebler 63beca4199 Added server push method. Pushes to any/all connected clients with id='pushed' which clients can listen for
Add jsdoc documenation to source and did a few experiments with doc generators
2019-01-01 16:53:12 -08:00
David Kebler 6a8c2b1fca fixed initial timeout on connect rejection.
add in new option conPacket for pushing a packet to any connecting consumer from a socket/server
2018-07-31 17:17:39 -07:00
David Kebler 01c4756e26 with keepAlive set (by default) if the socket terminates the consumer will attempt to reconnect indefinitely 2018-07-30 19:07:03 -07:00
David Kebler 36d1cf629f fix file delete (unlink) so catches error uses promise 2018-05-27 13:05:38 -07:00
David Kebler 949bd5b3b1 add client tracking on server side and push notification processin to both. Pushed packets have _header.id of 'pushed' and server has new push method 2018-05-24 12:28:30 -07:00
David Kebler e2e59466be upgrade to esm from @std/esm 2018-05-16 07:21:51 -07:00