pinpon-0.2.0.2: A gateway for various cloud notification services

Safe HaskellNone
LanguageHaskell2010

Network.PinPon.API

Contents

Synopsis

Types

type API = TopicAPI Source #

Combine all of the various individual service APIs into a single API type.

Servant / WAI functions

app :: Config -> Application Source #

A WAI Application which runs the service, using the given Config.

server :: Config -> Server API Source #

A Servant Server which serves the PinPonAPI on the given Config.

Normally you will just use app, but this function is exported so that you can extend/wrap API.