wai-predicates: WAI request predicates

[ library, web ] [ Propose Tags ]

Evaluate predicate functions against WAI requests and receive metadata in addition to a success/failure indicator. Predicates can be combined using logical connectives and the metadata are passed on accordingly.

wai-routing extends the functionality of wai-predicates with additional predicates and predicated request routing.


[Skip to Readme]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.2, 0.2.1, 0.3, 0.3.1, 0.3.2, 0.4, 0.5, 0.6, 0.7, 0.8, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.9.0, 0.10.0, 1.0.0
Change log CHANGELOG
Dependencies attoparsec (>=0.10), base (>=4.6 && <5.0), bytestring (>=0.10), bytestring-conversion (>=0.2), case-insensitive (>=1.1), cookie (>=0.4), http-types (>=0.8), singletons (>=0.10 && <2.3), transformers (>=0.3), vault (>=0.3), vector (>=0.10), wai (>=2.0) [details]
License LicenseRef-OtherLicense
Copyright (C) 2014-2016 Toralf Wittner
Author Toralf Wittner
Maintainer Toralf Wittner <tw@dtex.org>
Revised Revision 1 made by HerbertValerioRiedel at 2018-10-11T17:10:11Z
Category Web
Home page https://gitlab.com/twittner/wai-predicates/
Bug tracker https://gitlab.com/twittner/wai-predicates/issues
Source repo head: git clone git@gitlab.com:twittner/wai-predicates.git
Uploaded by ToralfWittner at 2016-08-01T22:04:30Z
Distributions
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 14358 total (53 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-08-01 [all 1 reports]

Readme for wai-predicates-0.9.0

[back to package description]

WAI predicates

Evaluate predicate functions against WAI requests and receive metadata in addition to a success/failure indicator.

Predicates can be combined using logical connectives and the metadata are passed on accordingly.

Contributing

If you want to contribute to this project please read the file CONTRIBUTING first.