On Wed, Jul 17, 2013 at 10:00 PM, Jan Lehnardt <[email protected]> wrote: > A database event is one of `created`, `updated`, `deleted`. > > The API endpoint supports a `?feed=` parameter with the > options: `longpoll`, `continuous` and `eventsource`. > > A second parameter `timeout=` specifies when the server should > close the connection. > > `longpoll` closes the connection after a single notification. > It is the default option. > > `continuous` keeps a socket open until the specified `timeout` > or 60 seconds by default. > > `eventsource` works like continuous, but sends the data in > EventSource format. See > http://dev.w3.org/html5/eventsource/
What about the heartbeat option? > - only manual testing of the various API differences due to > complications with asynchronous HTTP requests in the JS > test suite and total annoyance of overly complicated > ibrowse/httpc modules for writing etap tests. > > Recommendation to ship this as EXPERIMENTAL until we have tests. Ugh. I would really like to ship at least one basic test. Is it that hard? Cheers, Dirkjan
