Pusher client for cystal language
Add this to your application's shard.yml
:
dependencies:
pusher-client:
github: vusaalab/pusher-client
require "pusher-client"
client = Pusher::Client.new({
:app_id => "app-id",
:key => "your-pusher-key",
:secret => "your-pusher-scret",
:cluster => "your-cluster",
:port => "your-port",
:encrypted => "false",
})
client.trigger(["my-channel"], "my-event", { name: "foo", title: "boo" } )
- GET channels (fetch info for multiple channels)
- GET channel (fetch info for one channel)
- GET users
- Fork it ( https://github.com/vusaalab/pusher-client/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- vusaalab(https://github.com/vusaalab) nilanga - creator, maintainer