Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to subscribe to data published outside of route? #187

Open
mfyang opened this issue Dec 20, 2015 · 1 comment
Open

how to subscribe to data published outside of route? #187

mfyang opened this issue Dec 20, 2015 · 1 comment

Comments

@mfyang
Copy link

mfyang commented Dec 20, 2015

from swampdragon.pubsub_providers.data_publisher import publish_data
publish_data('geo', {'k':'vavc'})

this channel does not have a route, but on the javascript side, subscribe require route as parameter.

@AlexejStukov
Copy link

Hello @mfyang,
you have to subscribe to 'geo'. Look at this example in the swampdragon documentation for details.

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

No branches or pull requests

2 participants