Copyright | (c) Will Sewell, 2015 |
---|---|
License | MIT |
Maintainer | [email protected] |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Data.Pusher
Description
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.
Constructors
Pusher | |
Fields |
getPusher :: MonadIO m => Credentials -> m Pusher Source
Use this to get an instance Pusher. This will fill in the host and path automatically.