Safe Haskell | None |
---|---|
Language | Haskell2010 |
A backend for subscriber allows us to query a server and get a response.
| We mimick Wai's interface but with Request
and Response
types that match our needs.
| Our only backend right now actually is implemented via the WAI Application interface, see: Servant.Subscriber.Backend.Wai.
Documentation
type Application = HttpRequest -> (HttpResponse -> IO ResponseReceived) -> IO ResponseReceived Source #