Copyright | (c) Will Sewell, 2015 |
---|---|
License | MIT |
Maintainer | me@willsewell.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
You must create an instance of this datatype with your particular Pusher app credentials in order to run the main API functions.
- data Pusher = Pusher {}
- data Credentials = Credentials {}
- getPusher :: MonadIO m => Credentials -> m Pusher
- getPusherWithConnManager :: Manager -> Credentials -> Pusher
Documentation
All the required configuration needed to interact with the API.
getPusher :: MonadIO m => Credentials -> m Pusher Source
Use this to get an instance Pusher. This will fill in the host and path automatically.