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

Pusher.Event

Description

The Event module provides an simple interface for interacting with Pusher.com's event endpoints. This is used for trigger an event on one or more channels with arbitrary data.

Synopsis

Documentation

triggerEvent :: RequestBodyable a => Pusher -> a -> Event -> IO String

triggerEvent pusher channel(s) event sends an event to one or more channels for the given Pusher instance. The result is the response body from the Pusher server.