poelstra / mhub

Simple, flexible message hub using websockets
MIT License
9 stars 7 forks source link

Optional message acknowledgement #5

Closed poelstra closed 8 years ago

poelstra commented 9 years ago

For e.g. one-shot commandline programs, it is useful to be able to wait for a message's response (either OK or an error). Currently, the message is fire-and-forget only.

However, many messages don't explicitly require such acknowledgements, so the mechanism should be optional.

poelstra commented 8 years ago

MClient supports sequence numbers with acknowledgements now.