postgrest-ws-0.3.0.0: PostgREST extension to map LISTEN/NOTIFY messages to Websockets

Safe HaskellNone
LanguageHaskell2010

PostgRESTWS

Description

websockets connections that will communicate with the database through LISTEN/NOTIFY channels.

Synopsis

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.