Safe Haskell | None |
---|---|
Language | Haskell2010 |
websockets connections that will communicate with the database through LISTEN/NOTIFY channels.
- postgrestWsMiddleware :: ByteString -> IO POSIXTime -> Pool -> Multiplexer -> Application -> Application
Documentation
postgrestWsMiddleware :: 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.