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

API for attaching to indra faucet #2

Open
elsehow opened this issue Jun 4, 2015 · 0 comments
Open

API for attaching to indra faucet #2

elsehow opened this issue Jun 4, 2015 · 0 comments

Comments

@elsehow
Copy link
Contributor

elsehow commented Jun 4, 2015

the indra "faucet" abstraction is built on Pusher (though any streaming service will do).

the pusher-specific implementation is:

var faucet = new PusherClient([pusher API key]
    , {encrypted: true}).subscribe('everything')

but, a simpler, indra-specific API could be,

var faucet = new IndraFaucet([pusher API key])

it could be worth making a module for this.

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

No branches or pull requests

1 participant