Commit Graph

13 Commits (e29b4ba838e2c70f957d3ea22f81af9b28f2f1d6)

Author SHA1 Message Date
David Kebler 18a65b42c5 0.2.22
add active getter
emit status active when connect state changes
2019-11-21 10:04:48 -08:00
David Kebler 7502902a51 0.2.21 add ability to set the default return command as option defaultReturnCmd
add consumer-connection emits
change name in connection handler to consumer from socket
add getClientIndex and getClient to api methods
2019-09-16 18:10:57 -07:00
David Kebler 5f28baaa74 0.2.20 emit status events in consumer
refactor listen method into a handler
2019-09-08 19:49:35 -07:00
David Kebler 8078831971 0.2.19
register authenticator added to consumer and socket
default consumer authenticator looks for token in environment or opts or sets to 'default'
default socket authenticator looks for token validator method
add and remove token methods
default token validator method just checks sent token against list
can register alt token validator
improved authenticate function to handle fail reason and anonymous connect
2019-08-28 09:02:27 -07:00
David Kebler 3299e9125e refactored _send in socket class
added authentifcation with default being a token
attach any passed client name to server side client socket
2019-08-23 15:48:39 -07:00
David Kebler 375790bfc4 Add client ID to connected client on server and remove client when it closes 2019-08-20 10:52:59 -07:00
David Kebler 3bf375c8fd 0.2.18 Major refactor of consumer/client. Initial connect with promise resolution now separate from listening and reconnect handling. Added server ping and conusmer ping monitoring to know when to try a reconnect. Other errors will give a reconnect as well. 2019-08-20 10:52:02 -07:00
David Kebler 456b9568ff 0.2.13 add better error handling to avoid reconnrest execpetion 2019-04-28 09:58:35 -07:00
David Kebler 072dd25dc4 0.2.12 update deps, clean up logging, merged in tlc branch, TLS not implemented! but had many other changes to merge 2019-04-26 10:23:30 -07:00
David Kebler 81bb898ab4 0.2.11 refactored consumer connect/reconnect to be more robust
emits both
also keeps track of ready state
2019-04-12 08:00:45 -07:00
David Kebler ea7610e1a0 bind close method 2019-03-17 13:51:36 -07:00
David Kebler b587d5f2f2 0.2.7 change no host when port supplied warning, update to new logger location 2019-02-26 11:43:10 -08:00
David Kebler 609c2b51ca 0.2.3
added tls version of socket
2019-02-11 21:45:30 -08:00