| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
PostgRESTWS
Description
websockets connections that will communicate with the database through LISTEN/NOTIFY channels.
- postgrestWsMiddleware :: Maybe ByteString -> IO POSIXTime -> Pool -> Multiplexer -> Application -> Application
Documentation
postgrestWsMiddleware :: Maybe ByteString -> IO POSIXTime -> Pool -> Multiplexer -> Application -> Application Source #
Given a Maybe Secret, a function to fetch the system time, a Hasql Pool and a Multiplexer this will give you a WAI middleware.