Pushest v0.1.4 API Reference

Modules

Pushest handles communication with Pusher server via wesockets. Abstracts un/subscription, client-side triggers, private/presence channel authorizations. Keeps track of subscribed channels and users presence when subscribed to presence channel. Pushest is meant to be used in your module where you can define callbacks for events you’re interested in

Structure representing a Frame being passed between Pushest and Pusher server. Includes methods constructing Frame structure for various pusher events. This module handles encode/decode actions for a Frame

Structure representing main Pusher options which are passed via Pushest initializating methods

Structure representing presence information, connected user IDs and data of them

Structure representing a basic socket informations which are being sent when connection with Pusher server is estabilished. This module handles decode action for a SocketInfo

Structure representing whole App state being held in GenServer process

Structure representing a specific data payload being sent as part of a subscription event

Structure used to construct URL for Pusher server

Contains helper, data validation andd authorization methods