pusher-haskell-0.1.0.0: A Pusher.com client written in Haskell

CopyrightSee LICENSE file
LicenseBSD
MaintainerSid Raval <sidsraval@gmail.com>
Stabilityexperimental
Portabilitynon-portable (not tested)
Safe HaskellNone
LanguageHaskell2010

Network.Pusher.Channel

Description

The Channel module provides an simple interface for interacting with Pusher.com's channel endpoints. In particular, one can fetch info about every occupied channel for a given App ID, or more detailed information about a channel specified by name.

Synopsis

Documentation

getChannelInfo :: (Pusher, Channel, [Info]) -> IO (Either String ChannelInfo) Source

getChannelInfo (pusher, channel, info) requests information about a particular channel for the given Pusher instance. The result is either an error message returned by the Pusher server, or a ChannelInfo data structure.