servant-tower-hs: Use tower-hs middleware with servant clients

[ library, mit, network, web ] [ Propose Tags ] [ Report a vulnerability ]

servant-tower-hs provides an adapter to use tower-hs middleware (retry, timeout, circuit breaker, etc.) with servant-client's ClientMiddleware type, plus servant-specific middleware for headers, request IDs, validation, tracing, and logging.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Change log CHANGELOG.md
Dependencies base (>=4.14 && <5), bytestring (>=0.11 && <0.13), containers (>=0.6 && <0.8), hs-opentelemetry-api (>=0.3 && <0.4), http-types (>=0.12 && <0.13), mtl (>=2.2 && <2.4), servant-client (>=0.20 && <0.21), servant-client-core (>=0.20 && <0.21), text (>=2.0 && <2.2), tower-hs (>=0.1.0.0 && <0.2), uuid (>=1.3 && <1.4) [details]
Tested with ghc ==9.6.6, ghc ==9.8.4, ghc ==9.10.1
License MIT
Copyright 2026 Jarl André Hübenthal
Author Jarl André Hübenthal
Maintainer jarlah@protonmail.com
Uploaded by jarlah at 2026-04-06T14:37:47Z
Category Network, Web
Home page https://github.com/jarlah/tower-hs#readme
Bug tracker https://github.com/jarlah/tower-hs/issues
Source repo head: git clone https://github.com/jarlah/tower-hs
Downloads 0 total (0 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-04-06 [all 1 reports]

Readme for servant-tower-hs-0.1.0.0

[back to package description]

servant-tower-hs

Use tower-hs middleware with servant clients.

Provides an adapter bridging tower-hs middleware to servant's ClientMiddleware, plus servant-native middleware: headers, request IDs, response validation, OpenTelemetry tracing, and logging.

Part of the tower-hs mono-repo. See the repo README for full documentation and examples.

  • tower-hs — Generic service middleware core
  • http-tower-hs — HTTP client middleware built on tower-hs