Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

Subscribing to SSE using prefix filter does not work #56

Open
chuank opened this issue Aug 12, 2015 · 0 comments
Open

Subscribing to SSE using prefix filter does not work #56

chuank opened this issue Aug 12, 2015 · 0 comments

Comments

@chuank
Copy link

chuank commented Aug 12, 2015

Currently, subscribing to events on the local cloud requires the name of the subscribed/published event to match exactly.

This is different from the behaviour on the Particle cloud, which supports prefix filtering.

In other words, if 2 Particle devices on a local cloud are publishing weather/temp and weather/light respectively, there is no way to subscribe to a weather event and get both data streams simultaneously. This however is documented as a possible method for the Particle.io cloud – when will we see this supported on spark/particle-server?

Also, any use of the / slash presents Not Found connection errors through the cloud API.

p.s. this might be related to how it's not possible to subscribe to device-specific events (#53) on the spark-server, and how the api url requests are being parsed?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants