Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 621 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 621 Bytes

Pusher Build Status Hex pm

Description

Elixir library to access the Pusher REST API.

Usage

Pusher.configure!("localhost", 8080, "app_id", "app_key", "secret")
Pusher.trigger("message", [text: "Hello!"], "chat-channel")

To get occupied channels:

Pusher.channels

To get users connected to a presence channel

Pusher.users("presence-demo")

TODO

  • Add tests