The wai-predicates package

[Tags:library, mpl]

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]

Properties

Versions 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
Change log CHANGELOG.md
Dependencies attoparsec (>=0.10 && <1.0), base (==4.*), bytestring (>=0.10 && <1.0), bytestring-conversion (>=0.2 && <1.0), case-insensitive (>=1.1 && <2.0), cookie (==0.4.*), http-types (>=0.8 && <1.0), singletons (>=0.10 && <3.0), transformers (>=0.3 && <0.5), vault (==0.3.*), vector (>=0.10 && <1.0), wai (>=2.0 && <4.0) [details]
License MPL-2.0
Copyright (C) 2014-2016 Toralf Wittner
Author Toralf Wittner
Maintainer Toralf Wittner <tw@dtex.org>
Stability experimental
Category Web
Home page https://gitlab.com/twittner/wai-predicates/
Bug tracker https://gitlab.com/twittner/wai-predicates/issues
Source repository head: git clone git@gitlab.com:twittner/wai-predicates.git
Uploaded Sat Feb 13 12:46:55 UTC 2016 by ToralfWittner
Distributions LTSHaskell:0.8.6, NixOS:0.8.6, Tumbleweed:0.8.6
Downloads 2748 total (73 in the last 30 days)
Votes
0 []
Status Docs pending
Build status unknown [no reports yet]

Modules

  • Data
    • Data.Predicate
  • Network
    • Wai
      • Network.Wai.Predicate
        • Network.Wai.Predicate.Error
        • Network.Wai.Predicate.MediaType
        • Network.Wai.Predicate.Request
        • Network.Wai.Predicate.Utility

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for wai-predicates

Readme for wai-predicates-0.8.6

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.