When REST is not enough ...
|Version on this page:||0.6.0.0@rev:1|
|LTS Haskell 20.23:||0.7.0.0|
|Stackage Nightly 2023-05-28:||0.7.0.0|
|Latest on Hackage:||0.7.0.0|
Maintained by robert Dot klotzner A T gmx Dot at
This version can be pinned in stack with:
Depends on 29 packages(full list with versions):
aeson, async, attoparsec, base, blaze-builder, bytestring, case-insensitive, containers, directory, filepath, http-types, lens, lifted-base, monad-control, monad-logger, network-uri, purescript-bridge, servant, servant-foreign, servant-server, servant-subscriber, stm, text, time, transformers, wai, wai-websockets, warp, websockets
Used by 2 packages in lts-9.21(full list with versions):
Servant-subscriber enables your clients to subscribe to resources in your servant-api (an API endpoint). Servant-subscriber will then notify the client via a WebSocket connection whenever the resource changes, thus the client can easily stay up to date with a resource.
It seems to work - it is already tested in examples/central-counter of servant-purescript and used in production.
- Documentation, announcement.