Active
Project:
RELAXed Web Services
Version:
8.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Jun 2014 at 03:56 UTC
Updated:
24 Sep 2014 at 11:17 UTC
Jump to comment: Most recent
We need to figure out how to best implement the longpoll, continuous and eventsource types for the change feed. See http://docs.couchdb.org/en/latest/api/database/changes.html#changes-feeds
The longpoll type might not be too difficult, we just need a while-loop that polls the sequence index and exits and returns a change when there's a new sequence entry.
The continuous type will be more difficult. We need to find out a way to do streaming responses in Drupal. This might give us a start: http://stackoverflow.com/questions/12380783/streaming-a-response-in-symf...
Comments
Comment #1
dixon_Comment #2
dixon_Comment #3
dixon_Since #2282291: Implement the /db/_changes endpoint will implement the normal response type we don't need to prioritize these fancier response types. So I'm updating the priority accordingly.
Comment #4
dixon_