Copyright | See LICENSE file |
---|---|
License | BSD |
Maintainer | Sid Raval <sidsraval@gmail.com> |
Stability | experimental |
Portability | non-portable (not tested) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- getChannelInfo :: (Pusher, Channel, [Info]) -> IO (Either String ChannelInfo)
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.