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

[ bsd3, library, program, web ] [ Propose Tags ] [ Report a vulnerability ]

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


[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
websockets_0_11Enabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.2.0.0, 0.2.0.1, 0.3.0.0, 0.4.0.0, 0.5.0.0, 0.5.0.1, 0.5.0.2, 0.5.0.3, 0.6.0.0, 0.6.0.1, 0.6.0.2, 0.6.0.3, 0.7.0.0
Dependencies aeson (>=0.11.2), async, attoparsec, base (>=4.7 && <6.0), blaze-builder, bytestring, case-insensitive, containers, directory (>=1.2.2.0), 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 http://github.com/eskimor/servant-subscriber#readme
Source repo head: git clone https://github.com/eskimor/servant-subscriber
Uploaded by eskimo at 2020-02-29T13:11:24Z
Distributions NixOS:0.7.0.0
Reverse Dependencies 1 direct, 1 indirect [details]
Executables subscriber-psGenerator
Downloads 12074 total (24 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-0.7.0.0

[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.

Status

It seems to work - it is already tested in examples/central-counter of servant-purescript and used in production.

Still missing:

  • Documentation, announcement.
  • Tests