servant-subscriber: When REST is not enough ...

[ bsd3, library, program, web ] [ Propose Tags ]

WebSocket based extension for your servant REST API which allows users to subscribe to change events.

[Skip to Readme]


Automatic Flags

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,,,,,,,,,,,,
Dependencies aeson (>=0.11.2), async, attoparsec, base (>=4.7 && <6.0), blaze-builder, bytestring, case-insensitive, containers, directory (>=, filepath, http-types, lens, lifted-base, monad-control, monad-logger, network-uri, purescript-bridge (>=0.6), servant (>=0.14.1), servant-foreign, servant-server, servant-subscriber, stm, text, time, transformers, wai, wai-websockets, warp, websockets [details]
License BSD-3-Clause
Copyright Copyright: (c) 2016 Robert Klotzner
Author Robert Klotzner
Maintainer robert Dot klotzner A T gmx Dot at
Category Web
Home page
Source repo head: git clone
Uploaded by eskimo at 2020-02-29T13:11:24Z
Distributions LTSHaskell:, NixOS:
Reverse Dependencies 1 direct, 1 indirect [details]
Executables subscriber-psGenerator
Downloads 11751 total (43 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-02-29 [all 1 reports]

Readme for servant-subscriber-

[back to package description]

Servant Subscriber

Build Status

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.

Still missing:

  • Documentation, announcement.
  • Tests